Define desktop filename for Wayland compliance (fixes icon) (#627)

This commit is contained in:
z411 2023-08-26 14:34:44 -04:00 committed by GitHub
parent 6b490a4098
commit 412901e690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -521,6 +521,7 @@ class ConfigurationGetter(object):
raise ImportError raise ImportError
if QCoreApplication.instance() is None: if QCoreApplication.instance() is None:
self.app = QtWidgets.QApplication(sys.argv) self.app = QtWidgets.QApplication(sys.argv)
self.app.setDesktopFileName("syncplay")
if isWindows(): if isWindows():
try: try:
from syncplay.vendor import darkdetect from syncplay.vendor import darkdetect