diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-15 23:44:39 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-07-18 05:42:55 -0700 |
commit | 8f119dcf72db445530b39e0722c3afad7c130efb (patch) | |
tree | f0e410011a4f476b4115929dd7062646a46ccc0b /qt-models | |
parent | 0136d76cf4fd5c62f4224d2d721fce2b78097104 (diff) | |
download | subsurface-8f119dcf72db445530b39e0722c3afad7c130efb.tar.gz |
Cleanup: remove includes from qthelper.h
To reduce interdependencies, remove the dive.h and divelist.h
includes in qthelper.h
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/cylindermodel.cpp | 1 | ||||
-rw-r--r-- | qt-models/diveimportedmodel.cpp | 1 | ||||
-rw-r--r-- | qt-models/diveplannermodel.cpp | 1 | ||||
-rw-r--r-- | qt-models/models.cpp | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp index 4f16231b3..448a86e2d 100644 --- a/qt-models/cylindermodel.cpp +++ b/qt-models/cylindermodel.cpp @@ -3,6 +3,7 @@ #include "tankinfomodel.h" #include "models.h" #include "core/qthelper.h" +#include "core/divelist.h" // for mark_divelist_changed() #include "core/color.h" #include "qt-models/diveplannermodel.h" #include "core/gettextfromc.h" diff --git a/qt-models/diveimportedmodel.cpp b/qt-models/diveimportedmodel.cpp index 5de0f7cb4..c5180dda8 100644 --- a/qt-models/diveimportedmodel.cpp +++ b/qt-models/diveimportedmodel.cpp @@ -1,5 +1,6 @@ #include "diveimportedmodel.h" #include "core/qthelper.h" +#include "core/divelist.h" DiveImportedModel::DiveImportedModel(QObject *o) : QAbstractTableModel(o), firstIndex(0), diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp index 5a8889802..47d2bf275 100644 --- a/qt-models/diveplannermodel.cpp +++ b/qt-models/diveplannermodel.cpp @@ -6,6 +6,7 @@ #include "qt-models/models.h" #include "core/device.h" #include "core/qthelper.h" +#include "core/divelist.h" // for mark_divelist_changed() #include "core/settings/qPrefDivePlanner.h" #include "desktop-widgets/command.h" #include "core/gettextfromc.h" diff --git a/qt-models/models.cpp b/qt-models/models.cpp index ee68be2ca..f6b3e927f 100644 --- a/qt-models/models.cpp +++ b/qt-models/models.cpp @@ -7,6 +7,7 @@ */ #include "qt-models/models.h" #include "core/qthelper.h" +#include "core/dive.h" #include "core/gettextfromc.h" #include <QLocale> |