aboutsummaryrefslogtreecommitdiffstats
path: root/core/settings/qPref.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-07-31 18:40:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-02 08:59:56 -0700
commitaffdc9d39428e5aa50564e3c5cb6a513b7f2a01c (patch)
treec97cd82f4442cdac9ce499dcfb9a4169d4dcc1be /core/settings/qPref.cpp
parent54335e1ec680216bc0fd15fa880e7dbc23d098a6 (diff)
downloadsubsurface-affdc9d39428e5aa50564e3c5cb6a513b7f2a01c.tar.gz
core: activate qPrefUnits
remove Units from SettingsObjectWrapper and reference qPrefUnits update files using SettingsObjectWrapper/Units to use qPrefUnits this activated qPrefUnits 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 aae226d30..135cb6818 100644
--- a/core/settings/qPref.cpp
+++ b/core/settings/qPref.cpp
@@ -20,6 +20,7 @@ void qPref::loadSync(bool doSync)
qPrefDiveComputer::instance()->loadSync(doSync);
// qPrefFaceook does not use disk.
qPrefProxy::instance()->loadSync(doSync);
+ qPrefUnits::instance()->loadSync(doSync);
}
const QString qPref::canonical_version() const