diff options
author | Elvis Angelaccio <elvis.angelaccio@kde.org> | 2017-07-19 19:27:47 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2019-10-01 07:02:35 +0000 |
commit | 85fcd10f90e3ccf8e8c5586fd84161145ef862a0 (patch) | |
tree | ce971e5a06369cc99ab476ab63729bd6e1f3be45 | |
parent | 17f5e19399151a090b177681d9cfe606e71010c2 (diff) | |
download | qt-creator-85fcd10f90e3ccf8e8c5586fd84161145ef862a0.tar.gz |
Show application icon in Plasma Wayland sessions
kwin_wayland fetches application icons from .desktop files, so we
need to set the desktop filename on the QGuiApplication instance
(otherwise kwin will set a generic wayland icon as fallback).
Change-Id: I89921ace4a5a4ff2a2387111e51a8914f58e44a8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r-- | src/app/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp index 55ade01871..270902c549 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -523,6 +523,8 @@ int main(int argc, char **argv) } } + app.setDesktopFileName("org.qt-project.qtcreator.desktop"); + // Make sure we honor the system's proxy settings QNetworkProxyFactory::setUseSystemConfiguration(true); |