diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2016-11-01 14:17:59 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-11-01 09:38:21 -0700 |
commit | fdb48f9efba24579f0b85826469204b36c80d6bc (patch) | |
tree | 6649e869d8dbeabd9aa31c28ebf1c7b22070f606 /core/subsurface-qt/SettingsObjectWrapper.cpp | |
parent | df2dfa470612c1cb25ef2286577e2a56f8a8700f (diff) | |
download | subsurface-fdb48f9efba24579f0b85826469204b36c80d6bc.tar.gz |
Remember to load the language
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.cpp')
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp index ec5e04100..9e9c2ec00 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.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())); prefs.date_format = copy_string(qPrintable(s.value("date_format").toString())); |