mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
parent
2ea7a06234
commit
806fb0f102
1 changed files with 0 additions and 4 deletions
|
@ -477,10 +477,6 @@ def _run(argv: Optional[List[str]] = None, exec: bool = True) -> Optional[AnkiAp
|
|||
profiler = cProfile.Profile()
|
||||
profiler.enable()
|
||||
|
||||
if getattr(sys, "frozen", False) and os.getenv("QT_QPA_PLATFORM") == "wayland":
|
||||
# the packaged builds currently do not support wayland natively
|
||||
os.environ["QT_QPA_PLATFORM"] = "xcb"
|
||||
|
||||
# default to specified/system language before getting user's preference so that we can localize some more strings
|
||||
lang = anki.lang.get_def_lang(opts.lang)
|
||||
anki.lang.set_lang(lang[1])
|
||||
|
|
Loading…
Reference in a new issue