summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-08 19:46:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 17:25:00 -0700
commit2385f48c6a74e6eb39b3c8c69766719c05768113 (patch)
tree28295bc458729797fe575269b0d6c67f1ad16c05 /desktop-widgets/preferences
parent1ee726597239db4e1fd66b5ad70983a127280414 (diff)
downloadsubsurface-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 'desktop-widgets/preferences')
-rw-r--r--desktop-widgets/preferences/preferences_defaults.cpp4
-rw-r--r--desktop-widgets/preferences/preferences_network.cpp3
2 files changed, 5 insertions, 2 deletions
diff --git a/desktop-widgets/preferences/preferences_defaults.cpp b/desktop-widgets/preferences/preferences_defaults.cpp
index 1f96a79cf..9cdaeb43f 100644
--- a/desktop-widgets/preferences/preferences_defaults.cpp
+++ b/desktop-widgets/preferences/preferences_defaults.cpp
@@ -2,7 +2,9 @@
#include "preferences_defaults.h"
#include "ui_preferences_defaults.h"
#include "core/dive.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefGeneral.h"
+#include "core/settings/qPrefDisplay.h"
+#include "core/settings/qPrefCloudStorage.h"
#include <QFileDialog>
diff --git a/desktop-widgets/preferences/preferences_network.cpp b/desktop-widgets/preferences/preferences_network.cpp
index 112bc936f..c81588eea 100644
--- a/desktop-widgets/preferences/preferences_network.cpp
+++ b/desktop-widgets/preferences/preferences_network.cpp
@@ -4,7 +4,8 @@
#include "subsurfacewebservices.h"
#include "core/cloudstorage.h"
#include "core/dive.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefCloudStorage.h"
+#include "core/settings/qPrefProxy.h"
#include <QNetworkProxy>
PreferencesNetwork::PreferencesNetwork() : AbstractPreferencesWidget(tr("Network"),QIcon(":preferences-system-network-icon"), 9), ui(new Ui::PreferencesNetwork())