summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2016-11-01 14:22:43 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-11-01 09:38:49 -0700
commitda2c6b208ff0dbecee7f0907577f0284cb6533ef (patch)
treea6e820cbb1e3b74f40e24e03caa0031e679d2290 /core
parentfdb48f9efba24579f0b85826469204b36c80d6bc (diff)
downloadsubsurface-da2c6b208ff0dbecee7f0907577f0284cb6533ef.tar.gz
Load use_system_language
Forgot to load use_system_language, wich borked the preferences. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index 9e9c2ec00..d61200b3a 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -2288,6 +2288,7 @@ void SettingsObjectWrapper::load()
s.endGroup();
s.beginGroup("Language");
+ prefs.locale.use_system_language = s.value("UseSystemLanguage").toBool();
prefs.locale.language = copy_string(qPrintable(s.value("UiLanguage").toString()));
prefs.locale.lang_locale = copy_string(qPrintable(s.value("UiLangLocale").toString()));
prefs.time_format = copy_string(qPrintable(s.value("time_format").toString()));