diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-05-13 16:51:26 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-14 10:13:39 -0700 |
commit | ea83b5ed371bbfb1e5ffb0b501c8bf652cae35bb (patch) | |
tree | 794fbb5bfda8c60ce8b06d81c86fa7e8d6739a92 /desktop-widgets | |
parent | be64f6f3c0afd24fe81bbb7245eb352bab9c7d6a (diff) | |
download | subsurface-ea83b5ed371bbfb1e5ffb0b501c8bf652cae35bb.tar.gz |
Core: remove dive.h from files that don't need it
Of course, quite a few of them indirectly get it through other header
files.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/diveplanner.h | 1 | ||||
-rw-r--r-- | desktop-widgets/locationinformation.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/mapwidget.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/modeldelegates.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/preferences/preferences_defaults.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/preferences/preferences_network.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/subsurfacewebservices.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/tab-widgets/TabDiveInformation.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/undocommands.h | 1 |
9 files changed, 0 insertions, 9 deletions
diff --git a/desktop-widgets/diveplanner.h b/desktop-widgets/diveplanner.h index b7527f3c1..441e90bdd 100644 --- a/desktop-widgets/diveplanner.h +++ b/desktop-widgets/diveplanner.h @@ -8,7 +8,6 @@ #include <QDateTime> #include <QSignalMapper> -#include "core/dive.h" class QListView; class QModelIndex; diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp index b7eb80ab6..7cdbeb687 100644 --- a/desktop-widgets/locationinformation.cpp +++ b/desktop-widgets/locationinformation.cpp @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 #include "desktop-widgets/locationinformation.h" -#include "core/dive.h" #include "core/subsurface-string.h" #include "desktop-widgets/mainwindow.h" #include "desktop-widgets/divelistview.h" diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp index f5f20dae7..2060fdb7c 100644 --- a/desktop-widgets/mapwidget.cpp +++ b/desktop-widgets/mapwidget.cpp @@ -5,7 +5,6 @@ #include <QModelIndex> #include "mapwidget.h" -#include "core/dive.h" #include "core/divesite.h" #include "map-widget/qmlmapwidgethelper.h" #include "qt-models/maplocationmodel.h" diff --git a/desktop-widgets/modeldelegates.cpp b/desktop-widgets/modeldelegates.cpp index 4385c2c48..24dc767c4 100644 --- a/desktop-widgets/modeldelegates.cpp +++ b/desktop-widgets/modeldelegates.cpp @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 #include "desktop-widgets/modeldelegates.h" -#include "core/dive.h" #include "core/subsurface-string.h" #include "core/gettextfromc.h" #include "desktop-widgets/mainwindow.h" diff --git a/desktop-widgets/preferences/preferences_defaults.cpp b/desktop-widgets/preferences/preferences_defaults.cpp index 42dcae13d..4500ecac2 100644 --- a/desktop-widgets/preferences/preferences_defaults.cpp +++ b/desktop-widgets/preferences/preferences_defaults.cpp @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "preferences_defaults.h" #include "ui_preferences_defaults.h" -#include "core/dive.h" #include "core/prefs-macros.h" #include "core/subsurface-qt/SettingsObjectWrapper.h" diff --git a/desktop-widgets/preferences/preferences_network.cpp b/desktop-widgets/preferences/preferences_network.cpp index 3552fa9db..be3c8b1fa 100644 --- a/desktop-widgets/preferences/preferences_network.cpp +++ b/desktop-widgets/preferences/preferences_network.cpp @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "preferences_network.h" #include "ui_preferences_network.h" -#include "core/dive.h" #include "subsurfacewebservices.h" #include "core/prefs-macros.h" #include "core/cloudstorage.h" diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp index cccc9300b..361958329 100644 --- a/desktop-widgets/subsurfacewebservices.cpp +++ b/desktop-widgets/subsurfacewebservices.cpp @@ -12,7 +12,6 @@ #include "core/subsurface-qt/SettingsObjectWrapper.h" #include <errno.h> #include "core/cloudstorage.h" -#include "core/dive.h" #include "core/subsurface-string.h" #include <QDir> diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.cpp b/desktop-widgets/tab-widgets/TabDiveInformation.cpp index 097e8f0e4..18391e7ca 100644 --- a/desktop-widgets/tab-widgets/TabDiveInformation.cpp +++ b/desktop-widgets/tab-widgets/TabDiveInformation.cpp @@ -6,7 +6,6 @@ #include <core/helpers.h> #include <core/statistics.h> #include <core/display.h> -#include <core/dive.h> TabDiveInformation::TabDiveInformation(QWidget *parent) : TabBase(parent), ui(new Ui::TabDiveInformation()) { diff --git a/desktop-widgets/undocommands.h b/desktop-widgets/undocommands.h index e01bb20b8..f0626377c 100644 --- a/desktop-widgets/undocommands.h +++ b/desktop-widgets/undocommands.h @@ -4,7 +4,6 @@ #include <QUndoCommand> #include <QMap> -#include "core/dive.h" class UndoDeleteDive : public QUndoCommand { public: |