Set the app's desktop file name

This commit is contained in:
Michael Weghorn 2024-02-15 18:29:51 +00:00 committed by Raoul Snyman
parent b3cab7113b
commit d32ee3dfa3
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