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:
parent
94444b30d5
commit
72f5d49074
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user