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>
This commit is contained in:
Tomaz Canabrava 2016-11-01 14:22:43 +01:00 committed by Dirk Hohndel
parent fdb48f9efb
commit da2c6b208f

View file

@ -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()));