summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-08-26 16:01:31 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-08-27 11:40:45 -0700
commitf8f87b729472357613dee873febbf59bb965b495 (patch)
tree5625f8bd3eecc80bbb0b89a1b2fb3f6ee700b6ef /core/subsurface-qt/SettingsObjectWrapper.h
parent12eccda523da4e25a29aaaae441acfc5ad7825d1 (diff)
downloadsubsurface-f8f87b729472357613dee873febbf59bb965b495.tar.gz
Settings update: Move preferences sync / initialization
Move Preferences sync / initialization out of the planner widget prerferences to the ObjectWrapper. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.h')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.h b/core/subsurface-qt/SettingsObjectWrapper.h
index 472150a42..2f9bffd67 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.h
+++ b/core/subsurface-qt/SettingsObjectWrapper.h
@@ -695,6 +695,8 @@ public:
UpdateManagerSettings *update_manager_settings;
DiveComputerSettings *dive_computer_settings;
+ void sync();
+ void load();
private:
SettingsObjectWrapper(QObject *parent = NULL);
};