mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
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:
parent
fdb48f9efb
commit
da2c6b208f
1 changed files with 1 additions and 0 deletions
|
@ -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()));
|
||||
|
|
Loading…
Add table
Reference in a new issue