Merge pull request #317 from wgreven/fix-window-icon-on-wayland

Show the correct window icon when running on Wayland
This commit is contained in:
Damien Elmes 2019-07-19 08:37:50 +10:00 committed by GitHub
commit 79a4f76422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,6 +312,7 @@ def _run(argv=None, exec=True):
# create the app
app = AnkiApp(argv)
QCoreApplication.setApplicationName("Anki")
QGuiApplication.setDesktopFileName("anki.desktop")
if app.secondInstance():
# we've signaled the primary instance, so we should close
return