Correctly load the language based prefs

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-10-28 12:01:09 +02:00 committed by Dirk Hohndel
parent d7f339ade7
commit 540075962c

View file

@ -2295,6 +2295,9 @@ void SettingsObjectWrapper::load()
s.beginGroup("Language");
prefs.locale.lang_locale = copy_string(qPrintable(s.value("UiLangLocale").toString()));
prefs.time_format = copy_string(qPrintable(s.value("time_format").toString()));
prefs.date_format = copy_string(qPrintable(s.value("date_format").toString()));
prefs.date_format_short = copy_string(qPrintable(s.value("date_format_short").toString()));
s.endGroup();
}