From 4b2071728dd450e8fa9b81d4ccd3a1d80d78a305 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Wed, 15 Aug 2018 11:54:37 +0200 Subject: core: 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 --- core/qt-init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/qt-init.cpp') diff --git a/core/qt-init.cpp b/core/qt-init.cpp index 3543fb9bd..b2d178e8e 100644 --- a/core/qt-init.cpp +++ b/core/qt-init.cpp @@ -5,7 +5,7 @@ #include #include #include "qthelper.h" -#include "core/subsurface-qt/SettingsObjectWrapper.h" +#include "core/settings/qPref.h" char *settings_suffix = NULL; static QTranslator *qtTranslator, *ssrfTranslator; -- cgit v1.2.3-70-g09d2