diff options
author | jan Iversen <jani@apache.org> | 2018-08-15 11:53:49 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-15 16:11:39 -0700 |
commit | 94fd7586072e019a89b648cf885e0dcb266ba076 (patch) | |
tree | f1e1c75819e8456e9802afe2088283faa91bea20 /mobile-widgets/qmlprefs.cpp | |
parent | 1cc7c05170b4d7a188f88feabb4dcd800ebef85a (diff) | |
download | subsurface-94fd7586072e019a89b648cf885e0dcb266ba076.tar.gz |
mobile-widgets: remove SettingsObjectWrapper and update qPref calls
remove use of SettingsObjectWrapper::
remove include of SettingsObjectWrapper.h
use qPrefFoo:: for setters and getters
replace prefs.foo with qPrefXYZ::foo() where feasible
(this expands to the same code, but gives us more control
over the variable).
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'mobile-widgets/qmlprefs.cpp')
-rw-r--r-- | mobile-widgets/qmlprefs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlprefs.cpp b/mobile-widgets/qmlprefs.cpp index 03f51f765..defd28025 100644 --- a/mobile-widgets/qmlprefs.cpp +++ b/mobile-widgets/qmlprefs.cpp @@ -3,7 +3,7 @@ #include "qmlmanager.h" #include "core/membuffer.h" -#include "core/subsurface-qt/SettingsObjectWrapper.h" +#include "core/settings/qPref.h" #include "core/gpslocation.h" |