diff options
author | jan Iversen <jani@apache.org> | 2018-09-08 19:46:11 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-11 17:25:00 -0700 |
commit | 2385f48c6a74e6eb39b3c8c69766719c05768113 (patch) | |
tree | 28295bc458729797fe575269b0d6c67f1ad16c05 /mobile-widgets | |
parent | 1ee726597239db4e1fd66b5ad70983a127280414 (diff) | |
download | subsurface-2385f48c6a74e6eb39b3c8c69766719c05768113.tar.gz |
core/settings ... : remove qPref* includes in qPref.h
reduce number of includes by removing qPref* includes in qPref.h
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 6 | ||||
-rw-r--r-- | mobile-widgets/qmlprefs.cpp | 1 | ||||
-rw-r--r-- | mobile-widgets/qmlprefs.h | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 90fdded5b..2a3c426ed 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -33,9 +33,11 @@ #include "core/downloadfromdcthread.h" #include "core/subsurface-string.h" #include "core/pref.h" -#include "core/settings/qPref.h" - #include "core/ssrf.h" +#include "core/settings/qPrefGeneral.h" +#include "core/settings/qPrefLocationService.h" +#include "core/settings/qPrefTechnicalDetails.h" +#include "core/settings/qPrefPartialPressureGas.h" QMLManager *QMLManager::m_instance = NULL; bool noCloudToCloud = false; diff --git a/mobile-widgets/qmlprefs.cpp b/mobile-widgets/qmlprefs.cpp index 8fd6811c8..99bde2426 100644 --- a/mobile-widgets/qmlprefs.cpp +++ b/mobile-widgets/qmlprefs.cpp @@ -3,7 +3,6 @@ #include "qmlmanager.h" #include "core/membuffer.h" -#include "core/settings/qPref.h" #include "core/gpslocation.h" diff --git a/mobile-widgets/qmlprefs.h b/mobile-widgets/qmlprefs.h index 1676c2e64..ed38c0530 100644 --- a/mobile-widgets/qmlprefs.h +++ b/mobile-widgets/qmlprefs.h @@ -3,7 +3,8 @@ #define QMLPREFS_H #include <QObject> -#include "core/settings/qPref.h" +#include "core/settings/qPrefCloudStorage.h" +#include "core/settings/qPrefDisplay.h" class QMLPrefs : public QObject { |