summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2016-11-01 15:44:30 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-11-01 09:40:43 -0700
commitc110b4a23809ef7702653383d666bdd7a48ee775 (patch)
treed61d04424113c612840310593e3442261f0c4041 /core/subsurface-qt/SettingsObjectWrapper.cpp
parent27d1385c65792076d6541df3d19d50822c3c9e78 (diff)
downloadsubsurface-c110b4a23809ef7702653383d666bdd7a48ee775.tar.gz
More preference handling fixes
Remove a few uneeded lines and add more loading code for the preferences. 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.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index 68fdf195e..60efe9afb 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -2296,6 +2296,8 @@ void SettingsObjectWrapper::load()
GET_TXT("time_format", time_format);
GET_TXT("date_format", date_format);
GET_TXT("date_format_short", date_format_short);
+ GET_BOOL("time_format_override", time_format_override);
+ GET_BOOL("date_format_override", date_format_override);
s.endGroup();
}