From 2385f48c6a74e6eb39b3c8c69766719c05768113 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 8 Sep 2018 19:46:11 +0200 Subject: core/settings ... : remove qPref* includes in qPref.h reduce number of includes by removing qPref* includes in qPref.h Signed-off-by: Jan Iversen --- desktop-widgets/preferences/preferences_defaults.cpp | 4 +++- desktop-widgets/preferences/preferences_network.cpp | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'desktop-widgets/preferences') 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 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 PreferencesNetwork::PreferencesNetwork() : AbstractPreferencesWidget(tr("Network"),QIcon(":preferences-system-network-icon"), 9), ui(new Ui::PreferencesNetwork()) -- cgit v1.2.3-70-g09d2