aboutsummaryrefslogtreecommitdiffstats
path: root/core/settings/qPref.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-07-22 16:19:22 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-25 08:35:04 -0700
commit3d6848b22c9fb64a99bb3dec535431a6cab09ad9 (patch)
treec1a7aedcf02120c9ea0031194b1cef2d15db97fe /core/settings/qPref.cpp
parent98820cf970335523b4cd2a84a025c12b5480e0aa (diff)
downloadsubsurface-3d6848b22c9fb64a99bb3dec535431a6cab09ad9.tar.gz
core: activate qPrefDiveComputer
remove DiveComputer from SettingsObjectWrapper and reference qPrefDiveComputer update files using SettingsObjectWrapper/DiveComputer to use qPrefDiveComputer this activated qPrefDiveComputer and removed the similar class from SettingsObjectWrapper. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPref.cpp')
-rw-r--r--core/settings/qPref.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/settings/qPref.cpp b/core/settings/qPref.cpp
index f5239ac5d..eabd6e7a9 100644
--- a/core/settings/qPref.cpp
+++ b/core/settings/qPref.cpp
@@ -18,6 +18,7 @@ void qPref::loadSync(bool doSync)
qPrefAnimations::instance()->loadSync(doSync);
qPrefCloudStorage::instance()->loadSync(doSync);
qPrefDisplay::instance()->loadSync(doSync);
+ qPrefDiveComputer::instance()->loadSync(doSync);
}
const QString qPref::canonical_version() const