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>
This commit is contained in:
Tomaz Canabrava 2016-08-26 16:01:31 -03:00 committed by Dirk Hohndel
parent 12eccda523
commit f8f87b7294
3 changed files with 64 additions and 53 deletions

View file

@ -695,6 +695,8 @@ public:
UpdateManagerSettings *update_manager_settings;
DiveComputerSettings *dive_computer_settings;
void sync();
void load();
private:
SettingsObjectWrapper(QObject *parent = NULL);
};