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 /qt-models | |
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 'qt-models')
-rw-r--r-- | qt-models/cylindermodel.cpp | 1 | ||||
-rw-r--r-- | qt-models/diveimportedmodel.h | 1 | ||||
-rw-r--r-- | qt-models/divelistmodel.h | 1 | ||||
-rw-r--r-- | qt-models/diveplannermodel.cpp | 1 | ||||
-rw-r--r-- | qt-models/diveplotdatamodel.cpp | 1 | ||||
-rw-r--r-- | qt-models/divetripmodel.cpp | 1 | ||||
-rw-r--r-- | qt-models/weightmodel.cpp | 1 | ||||
-rw-r--r-- | qt-models/yearlystatisticsmodel.cpp | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp index 652f57dbf..3a7fb62e3 100644 --- a/qt-models/cylindermodel.cpp +++ b/qt-models/cylindermodel.cpp @@ -3,7 +3,6 @@ #include "tankinfomodel.h" #include "models.h" #include "core/helpers.h" -#include "core/dive.h" #include "core/color.h" #include "qt-models/diveplannermodel.h" #include "core/gettextfromc.h" diff --git a/qt-models/diveimportedmodel.h b/qt-models/diveimportedmodel.h index 2cca49f3d..eeea0b82c 100644 --- a/qt-models/diveimportedmodel.h +++ b/qt-models/diveimportedmodel.h @@ -2,7 +2,6 @@ #define DIVEIMPORTEDMODEL_H #include <QAbstractTableModel> -#include "core/dive.h" class DiveImportedModel : public QAbstractTableModel { diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h index 3dc3d74e4..87654f1ac 100644 --- a/qt-models/divelistmodel.h +++ b/qt-models/divelistmodel.h @@ -5,7 +5,6 @@ #include <QAbstractListModel> #include <QSortFilterProxyModel> -#include "core/dive.h" #include "core/helpers.h" #include "core/subsurface-qt/DiveObjectHelper.h" diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp index cfa405a9f..deb3afe82 100644 --- a/qt-models/diveplannermodel.cpp +++ b/qt-models/diveplannermodel.cpp @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 #include "diveplannermodel.h" -#include "core/dive.h" #include "core/subsurface-string.h" #include "core/helpers.h" #include "qt-models/cylindermodel.h" diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp index 944510167..203ac3bd2 100644 --- a/qt-models/diveplotdatamodel.cpp +++ b/qt-models/diveplotdatamodel.cpp @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "qt-models/diveplotdatamodel.h" #include "qt-models/diveplannermodel.h" -#include "core/dive.h" #include "core/profile.h" #include "core/divelist.h" #include "core/color.h" diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp index a59d0ba84..1e1f1530f 100644 --- a/qt-models/divetripmodel.cpp +++ b/qt-models/divetripmodel.cpp @@ -4,7 +4,6 @@ #include "core/metrics.h" #include "core/divelist.h" #include "core/helpers.h" -#include "core/dive.h" #include "core/subsurface-string.h" #include <QIcon> #include <QDebug> diff --git a/qt-models/weightmodel.cpp b/qt-models/weightmodel.cpp index a829bab58..20eb644f3 100644 --- a/qt-models/weightmodel.cpp +++ b/qt-models/weightmodel.cpp @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 #include "qt-models/weightmodel.h" -#include "core/dive.h" #include "core/subsurface-string.h" #include "core/gettextfromc.h" #include "core/metrics.h" diff --git a/qt-models/yearlystatisticsmodel.cpp b/qt-models/yearlystatisticsmodel.cpp index fbc65ccab..c1d75bc9a 100644 --- a/qt-models/yearlystatisticsmodel.cpp +++ b/qt-models/yearlystatisticsmodel.cpp @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 #include "qt-models/yearlystatisticsmodel.h" -#include "core/dive.h" #include "core/helpers.h" #include "core/metrics.h" #include "core/statistics.h" |