diff options
author | jan Iversen <jani@apache.org> | 2018-08-15 11:56:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-15 16:11:39 -0700 |
commit | 0f68e0cc2e6e9c4d4e07b065888b9982086748e7 (patch) | |
tree | f1fc7bb8778bbac553f79a142099cace64f72aef /desktop-widgets/diveplanner.cpp | |
parent | c6998ee92680f2724c2a6adbb4c7a06c9bae0633 (diff) | |
download | subsurface-0f68e0cc2e6e9c4d4e07b065888b9982086748e7.tar.gz |
desktop-widget: 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 'desktop-widgets/diveplanner.cpp')
-rw-r--r-- | desktop-widgets/diveplanner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/diveplanner.cpp b/desktop-widgets/diveplanner.cpp index e2f192f8e..26e8c446a 100644 --- a/desktop-widgets/diveplanner.cpp +++ b/desktop-widgets/diveplanner.cpp @@ -4,7 +4,7 @@ #include "desktop-widgets/mainwindow.h" #include "core/planner.h" #include "core/qthelper.h" -#include "core/subsurface-qt/SettingsObjectWrapper.h" +#include "core/settings/qPrefDivePlanner.h" #include "core/gettextfromc.h" #include "qt-models/cylindermodel.h" |