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 8f280d3bc9

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