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:
commit
79a4f76422
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user