mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Use the current window icon in QIcon::fromTheme()
This prevents removing the application icon when icon lookup fails, on Mac or MS Windows.
This commit is contained in:
parent
88805f7fad
commit
ded92cc32a
|
@ -39,7 +39,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
|
|||
{
|
||||
QApplication app(argc, argv);
|
||||
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
||||
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("system-file-manager")));
|
||||
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("system-file-manager"), app.windowIcon()));
|
||||
|
||||
KCrash::initialize();
|
||||
|
||||
|
|
Loading…
Reference in a new issue