From 85fcd10f90e3ccf8e8c5586fd84161145ef862a0 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Wed, 19 Jul 2017 19:27:47 +0200 Subject: 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 --- src/app/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/app') 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); -- cgit v1.2.3