diff options
-rw-r--r-- | core/divecomputer.cpp | 1 | ||||
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.cpp | 1 | ||||
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.h | 3 | ||||
-rw-r--r-- | desktop-widgets/preferences/preferences_defaults.cpp | 2 | ||||
-rw-r--r-- | desktop-widgets/preferences/preferences_georeference.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/preferences/preferences_graph.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/preferences/preferences_network.cpp | 2 | ||||
-rw-r--r-- | desktop-widgets/preferences/preferences_units.cpp | 1 |
8 files changed, 5 insertions, 7 deletions
diff --git a/core/divecomputer.cpp b/core/divecomputer.cpp index e9de3f64b..b3f01fb78 100644 --- a/core/divecomputer.cpp +++ b/core/divecomputer.cpp @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "divecomputer.h" +#include "dive.h" #include "subsurface-string.h" #include "subsurface-qt/SettingsObjectWrapper.h" diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp index ec80f62b8..80b9df8ee 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.cpp +++ b/core/subsurface-qt/SettingsObjectWrapper.cpp @@ -7,6 +7,7 @@ #include <QNetworkProxy> #include "core/qthelper.h" +#include "core/prefs-macros.h" DiveComputerSettings::DiveComputerSettings(QObject *parent): QObject(parent) diff --git a/core/subsurface-qt/SettingsObjectWrapper.h b/core/subsurface-qt/SettingsObjectWrapper.h index a56175ea7..64f0621b2 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.h +++ b/core/subsurface-qt/SettingsObjectWrapper.h @@ -5,8 +5,7 @@ #include <QObject> #include <QDate> -#include "../pref.h" -#include "../prefs-macros.h" +#include "core/pref.h" /* Wrapper class for the Settings. This will allow * seamlessy integration of the settings with the QML diff --git a/desktop-widgets/preferences/preferences_defaults.cpp b/desktop-widgets/preferences/preferences_defaults.cpp index e0a24530a..7ae5e38ae 100644 --- a/desktop-widgets/preferences/preferences_defaults.cpp +++ b/desktop-widgets/preferences/preferences_defaults.cpp @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include "preferences_defaults.h" #include "ui_preferences_defaults.h" -#include "core/prefs-macros.h" +#include "core/dive.h" #include "core/subsurface-qt/SettingsObjectWrapper.h" #include <QFileDialog> diff --git a/desktop-widgets/preferences/preferences_georeference.cpp b/desktop-widgets/preferences/preferences_georeference.cpp index a0a72dbd3..cb75cb646 100644 --- a/desktop-widgets/preferences/preferences_georeference.cpp +++ b/desktop-widgets/preferences/preferences_georeference.cpp @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "preferences_georeference.h" #include "ui_preferences_georeference.h" -#include "core/prefs-macros.h" #include "core/qthelper.h" #include "core/subsurface-qt/SettingsObjectWrapper.h" #include "qt-models/divelocationmodel.h" diff --git a/desktop-widgets/preferences/preferences_graph.cpp b/desktop-widgets/preferences/preferences_graph.cpp index 14025c82c..b35893bd3 100644 --- a/desktop-widgets/preferences/preferences_graph.cpp +++ b/desktop-widgets/preferences/preferences_graph.cpp @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "preferences_graph.h" #include "ui_preferences_graph.h" -#include "core/prefs-macros.h" #include "core/subsurface-qt/SettingsObjectWrapper.h" #include <QMessageBox> diff --git a/desktop-widgets/preferences/preferences_network.cpp b/desktop-widgets/preferences/preferences_network.cpp index be3c8b1fa..710c96422 100644 --- a/desktop-widgets/preferences/preferences_network.cpp +++ b/desktop-widgets/preferences/preferences_network.cpp @@ -2,7 +2,7 @@ #include "preferences_network.h" #include "ui_preferences_network.h" #include "subsurfacewebservices.h" -#include "core/prefs-macros.h" +#include "core/dive.h" #include "core/cloudstorage.h" #include "core/subsurface-qt/SettingsObjectWrapper.h" #include <QNetworkProxy> diff --git a/desktop-widgets/preferences/preferences_units.cpp b/desktop-widgets/preferences/preferences_units.cpp index 5ae03fba2..1dc006fc8 100644 --- a/desktop-widgets/preferences/preferences_units.cpp +++ b/desktop-widgets/preferences/preferences_units.cpp @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "preferences_units.h" #include "ui_preferences_units.h" -#include "core/prefs-macros.h" #include "core/qthelper.h" #include "core/subsurface-qt/SettingsObjectWrapper.h" |