From da2c6b208ff0dbecee7f0907577f0284cb6533ef Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 1 Nov 2016 14:22:43 +0100 Subject: Load use_system_language Forgot to load use_system_language, wich borked the preferences. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- core/subsurface-qt/SettingsObjectWrapper.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'core') 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())); -- cgit v1.2.3-70-g09d2