Set desktop name for Wayland

Fixes bug 11847.
This commit is contained in:
Jean-Marc Lasgouttes 2020-04-30 12:35:57 +02:00
parent 16d8141e5e
commit 2a80b0ac01

View File

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