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 /subsurface-helper.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 'subsurface-helper.cpp')
-rw-r--r-- | subsurface-helper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp index 20dd47ec7..e59cab046 100644 --- a/subsurface-helper.cpp +++ b/subsurface-helper.cpp @@ -162,6 +162,7 @@ void register_qml_types() REGISTER_TYPE(qPrefDiveComputer, "SsrfDiveComputerPrefs"); REGISTER_TYPE(qPrefFacebook, "SsrfFacebookPrefs"); REGISTER_TYPE(qPrefProxy, "SsrfProxyPrefs"); + REGISTER_TYPE(qPrefUnits, "SsrfUnitPrefs"); #ifndef SUBSURFACE_TEST_DATA #ifdef SUBSURFACE_MOBILE |