summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-05-30 18:29:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-06-19 13:11:10 -0700
commit6200909ba4ffba2d79770b7eacdb615eeb2c88c1 (patch)
treea5c63427daf5a3d73f179d5c63177edffe03c2e4 /qt-models
parent46c69fccb79911b4ef1bc12606f39b072cbf19d3 (diff)
downloadsubsurface-6200909ba4ffba2d79770b7eacdb615eeb2c88c1.tar.gz
Cleanup: move tag functions into own translation unit
Make dive.h a bit slimmer. It's only a drop in the bucket - but at least when modifying tag functions not the *whole* application is rebuilt anymore. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/completionmodels.cpp1
-rw-r--r--qt-models/divetripmodel.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/qt-models/completionmodels.cpp b/qt-models/completionmodels.cpp
index b4e166de3..957b8c7fd 100644
--- a/qt-models/completionmodels.cpp
+++ b/qt-models/completionmodels.cpp
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include "qt-models/completionmodels.h"
#include "core/dive.h"
+#include "core/tag.h"
#include <QSet>
#include <QString>
diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp
index 59069164f..7795b3563 100644
--- a/qt-models/divetripmodel.cpp
+++ b/qt-models/divetripmodel.cpp
@@ -6,6 +6,7 @@
#include "core/divelist.h"
#include "core/qthelper.h"
#include "core/subsurface-string.h"
+#include "core/tag.h"
#include <QIcon>
#include <QDebug>
#include <memory>