1
0
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:
Zetok Zalbavar 2017-11-05 16:46:19 +00:00
parent 76d4dd32c9
commit 8a9c34d888
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -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