summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-15 16:01:32 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-15 14:19:21 -0700
commit7533f4490b278af2ad99a20a34aa09d8d59858f1 (patch)
treee831285463dfa41155e10b2f483cc6ab1abce8cc
parent34ebaf6599775da18495cda7717a3f6e495f7079 (diff)
downloadsubsurface-7533f4490b278af2ad99a20a34aa09d8d59858f1.tar.gz
cleanup: replace to "dive.h" includes by more specific includes
The weightsystem- and cylinder-model headers were including "dive.h". Inclusion of "equipment.h" is sufficient though. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--qt-models/cylindermodel.h2
-rw-r--r--qt-models/weightmodel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/qt-models/cylindermodel.h b/qt-models/cylindermodel.h
index 099a3beb2..b8ed7e0eb 100644
--- a/qt-models/cylindermodel.h
+++ b/qt-models/cylindermodel.h
@@ -5,7 +5,7 @@
#include <QSortFilterProxyModel>
#include "cleanertablemodel.h"
-#include "core/dive.h"
+#include "core/equipment.h"
/* Encapsulation of the Cylinder Model, that presents the
* Current cylinders that are used on a dive. */
diff --git a/qt-models/weightmodel.h b/qt-models/weightmodel.h
index b1df4fc8e..6d0b4e0ac 100644
--- a/qt-models/weightmodel.h
+++ b/qt-models/weightmodel.h
@@ -3,7 +3,7 @@
#define WEIGHTMODEL_H
#include "cleanertablemodel.h"
-#include "core/dive.h"
+#include "core/equipment.h"
/* Encapsulation of the Weight Model, that represents
* the current weights on a dive. */