diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-05-01 13:43:52 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-01 09:42:31 -0700 |
commit | 95284c026e763482ef581c8b6298012d2c1fd941 (patch) | |
tree | ae00ee0920b3e31991cb324d256ac0c97a5027fd /qt-models | |
parent | c13040798c66c5254fbcc921842cd519da05a4c5 (diff) | |
download | subsurface-95284c026e763482ef581c8b6298012d2c1fd941.tar.gz |
cleanup: move dive_table from dive.h to divelist.h
This allows us to decouple dive.h and divelist.h, a small step in
include disentangling.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/divepicturemodel.cpp | 1 | ||||
-rw-r--r-- | qt-models/diveplannermodel.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qt-models/divepicturemodel.cpp b/qt-models/divepicturemodel.cpp index 705f23592..aab0e7f6f 100644 --- a/qt-models/divepicturemodel.cpp +++ b/qt-models/divepicturemodel.cpp @@ -2,6 +2,7 @@ #include "qt-models/divepicturemodel.h" #include "core/metrics.h" #include "core/divelist.h" // for mark_divelist_changed() +#include "core/dive.h" #include "core/imagedownloader.h" #include "core/picture.h" #include "core/qthelper.h" diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp index c6821109b..5132df45f 100644 --- a/qt-models/diveplannermodel.cpp +++ b/qt-models/diveplannermodel.cpp @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "diveplannermodel.h" +#include "core/divelist.h" #include "core/subsurface-string.h" #include "qt-models/cylindermodel.h" #include "core/planner.h" |