summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.cpp')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index 538ad8847..0cd0568b4 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -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();
}