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>
This commit is contained in:
jan Iversen 2018-08-15 11:53:49 +02:00 committed by Dirk Hohndel
parent 1cc7c05170
commit 94fd758607
2 changed files with 19 additions and 20 deletions

View file

@ -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"