summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/qthelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp
index 05612a4ce..564d4394f 100644
--- a/core/qthelper.cpp
+++ b/core/qthelper.cpp
@@ -471,7 +471,7 @@ QString uiLanguage(QLocale *callerLoc)
else
uiLang = languages[0];
- qPrefLanguage::set_lang_locale(uiLang);
+ prefs.locale.lang_locale = copy_qstring(uiLang);
// there's a stupid Qt bug on MacOS where uiLanguages doesn't give us the country info
if (!uiLang.contains('-') && uiLang != loc.bcp47Name()) {