diff options
author | jan Iversen <jani@apache.org> | 2018-07-31 18:40:59 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-02 08:59:56 -0700 |
commit | affdc9d39428e5aa50564e3c5cb6a513b7f2a01c (patch) | |
tree | c97cd82f4442cdac9ce499dcfb9a4169d4dcc1be /core/settings/qPref.cpp | |
parent | 54335e1ec680216bc0fd15fa880e7dbc23d098a6 (diff) | |
download | subsurface-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.cpp | 1 |
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 |