1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

[MainApp] Try to use windowIcon from icon theme

This commit is contained in:
David Rosca 2014-04-16 09:13:17 +02:00
parent 94444b30d5
commit 72f5d49074

View File

@ -108,7 +108,7 @@ MainApplication::MainApplication(int &argc, char** argv)
setApplicationName(QLatin1String("QupZilla"));
setApplicationVersion(Qz::VERSION);
setOrganizationDomain(QLatin1String("qupzilla"));
setWindowIcon(QIcon(QLatin1String(":icons/exeicons/qupzilla-window.png")));
setWindowIcon(QIcon::fromTheme(QSL("qupzilla"), QIcon(QSL(":icons/exeicons/qupzilla-window.png")));
// Set fallback icon theme (eg. on Windows/Mac)
if (QIcon::fromTheme(QSL("view-refresh")).isNull()) {