diff options
author | jan Iversen <jani@apache.org> | 2018-08-15 11:54:37 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-15 16:11:39 -0700 |
commit | 4b2071728dd450e8fa9b81d4ccd3a1d80d78a305 (patch) | |
tree | 0c127d89f59a52a42171f043dc091e2a434f1601 /core/qt-init.cpp | |
parent | 94fd7586072e019a89b648cf885e0dcb266ba076 (diff) | |
download | subsurface-4b2071728dd450e8fa9b81d4ccd3a1d80d78a305.tar.gz |
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 <jani@apache.org>
Diffstat (limited to 'core/qt-init.cpp')
-rw-r--r-- | core/qt-init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 <QLibraryInfo> #include <QTextCodec> #include "qthelper.h" -#include "core/subsurface-qt/SettingsObjectWrapper.h" +#include "core/settings/qPref.h" char *settings_suffix = NULL; static QTranslator *qtTranslator, *ssrfTranslator; |