]> 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>
Sun, 12 Jul 2020 13:44:38 +0000 (15:44 +0200)
Fixes bug 11847.

(cherry picked from commit 2a80b0ac01bed283d3f06d6dbe50307b2a3bab15)

src/frontends/qt4/GuiApplication.cpp
status.23x

index 3d88764c732fbd2243102a40c7e0c9aef806d818..0094e9d9309a361c0bb5fa77ec49dc753e14cd24 100644 (file)
@@ -1027,6 +1027,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 translator for GUI elements.
index 3b94c325f71363b92780881bae6814d2966f655d..cb41997c5e6d3944e8af00ab378f207bdd5f4313 100644 (file)
@@ -68,6 +68,8 @@ What's new
 
 - Fix input of decimal numbers in RtL context (bug 11900).
 
+- Fix the LyX icon in the Wayland dash (bug 11847).
+
 
 * INTERNALS