Merge branch 'michaelweghorn/set_desktop_file_name' into 'master'

Set the app's desktop file name

Closes #1837

See merge request openlp/openlp!714
This commit is contained in:
Raoul Snyman 2024-02-15 18:29:51 +00:00
commit 52afc20ac4
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ class OpenLP(QtCore.QObject, LogMixin):
if 'OpenLP' in args:
args.remove('OpenLP')
self.args.extend(args)
# set desktop file name, which is used to display the proper window icon on Wayland
QtGui.QGuiApplication.setDesktopFileName("openlp")
# Decide how many screens we have and their size
screens = ScreenList.create(app)
# First time checks in settings