Set desktop name for Wayland

Fixes bug 11847.

(cherry picked from commit 2a80b0ac01)
This commit is contained in:
Jean-Marc Lasgouttes 2020-04-30 12:35:57 +02:00
parent 4804f63740
commit dc5eda84b8
2 changed files with 6 additions and 0 deletions

View 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.

View 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