mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix: add default return in Widget::getStatusIconPath to fix warning
Fixes warning produced with `-Werror=return-type` on GCC 5.4.0.
This commit is contained in:
parent
76d4dd32c9
commit
8a9c34d888
@ -2191,7 +2191,9 @@ QString Widget::getStatusIconPath(Status status)
|
||||
case Status::Offline:
|
||||
return ":/img/status/dot_offline.svg";
|
||||
}
|
||||
qWarning() << "Status unknown";
|
||||
assert(false);
|
||||
return QString{};
|
||||
}
|
||||
|
||||
// Preparing needed to set correct size of icons for GTK tray backend
|
||||
|
Loading…
x
Reference in New Issue
Block a user