mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
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
1 changed files with 1 additions and 0 deletions
|
@ -312,6 +312,7 @@ def _run(argv=None, exec=True):
|
||||||
# create the app
|
# create the app
|
||||||
app = AnkiApp(argv)
|
app = AnkiApp(argv)
|
||||||
QCoreApplication.setApplicationName("Anki")
|
QCoreApplication.setApplicationName("Anki")
|
||||||
|
QGuiApplication.setDesktopFileName("anki.desktop")
|
||||||
if app.secondInstance():
|
if app.secondInstance():
|
||||||
# we've signaled the primary instance, so we should close
|
# we've signaled the primary instance, so we should close
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue