mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Fix Qt desktop file name warning (#3419)
* Fix Qt desktop file name warning * Update CONTRIBUTORS
This commit is contained in:
parent
90661c4bfc
commit
163c10191f
2 changed files with 3 additions and 3 deletions
|
@ -118,7 +118,7 @@ yellowjello <github.com/yellowjello>
|
|||
Ingemar Berg <github.com/ingemarberg>
|
||||
Ben Kerman <ben@kermanic.org>
|
||||
Euan Kemp <euank@euank.com>
|
||||
Kieran Black <kieranlblack@gmail.com>
|
||||
Kieran Black <kieranlblack@gmail.com>
|
||||
XeR <github.com/XeR>
|
||||
mgrottenthaler <github.com/mgrottenthaler>
|
||||
Austin Siew <github.com/Aquafina-water-bottle>
|
||||
|
@ -138,7 +138,7 @@ Monty Evans <montyevans@gmail.com>
|
|||
Nil Admirari <https://github.com/nihil-admirari>
|
||||
Michael Winkworth <github.com/SteelColossus>
|
||||
Mateusz Wojewoda <kawa1.11@o2.pl>
|
||||
Jarrett Ye <jarrett.ye@outlook.com>
|
||||
Jarrett Ye <jarrett.ye@outlook.com>
|
||||
Sam Waechter <github.com/swektr>
|
||||
Michael Eliachevitch <m.eliachevitch@posteo.de>
|
||||
Carlo Quick <https://github.com/CarloQuick>
|
||||
|
|
|
@ -667,7 +667,7 @@ def _run(argv: list[str] | None = None, exec: bool = True) -> AnkiApp | None:
|
|||
|
||||
# create the app
|
||||
QCoreApplication.setApplicationName("Anki")
|
||||
QGuiApplication.setDesktopFileName("anki.desktop")
|
||||
QGuiApplication.setDesktopFileName("anki")
|
||||
app = AnkiApp(argv)
|
||||
if app.secondInstance():
|
||||
# we've signaled the primary instance, so we should close
|
||||
|
|
Loading…
Reference in a new issue