]> git.lyx.org Git - lyx.git/commitdiff
Set desktop name for Wayland
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 30 Apr 2020 10:35:57 +0000 (12:35 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 11 Jul 2020 18:40:30 +0000 (20:40 +0200)
Fixes bug 11847.

src/frontends/qt/GuiApplication.cpp

index 4f14becad1e28e796cd2e788722fb08304eba7ae..213321f7e5df3b1c2533eec8bf0ff2fdfd0fa0de 100644 (file)
@@ -1003,6 +1003,10 @@ GuiApplication::GuiApplication(int & argc, char ** argv)
        QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
 #endif
 
+#if QT_VERSION >= 0x050700
+       setDesktopFileName(lyx_package);
+#endif
+
        qsrand(QDateTime::currentDateTime().toTime_t());
 
        // Install LyX translator for missing Qt translations