aboutsummaryrefslogtreecommitdiffstats
path: root/core/qthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/qthelper.cpp')
-rw-r--r--core/qthelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp
index f34547882..282b0d1b1 100644
--- a/core/qthelper.cpp
+++ b/core/qthelper.cpp
@@ -494,7 +494,7 @@ QString uiLanguage(QLocale *callerLoc)
s.beginGroup("Language");
GET_BOOL("UseSystemLanguage", locale.use_system_language);
- if (!s.value("UseSystemLanguage", true).toBool()) {
+ if (!prefs.locale.use_system_language) {
loc = QLocale(s.value("UiLanguage", QLocale().uiLanguages().first()).toString());
} else {
loc = QLocale(QLocale().uiLanguages().first());