aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-12-28 14:30:57 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-29 08:34:09 -0800
commitbbbd4c88180d43604c5e6bbe093461e93859d706 (patch)
treecde7817eb765b94e02c3883347a04770143f7688 /qt-models
parent8758b95881ac65c95a1dcd1c6b419e538b38fbf0 (diff)
downloadsubsurface-bbbd4c88180d43604c5e6bbe093461e93859d706.tar.gz
cleanup: remove getDivesInTrip() in qthelper.cpp
This function was not used anywhere. Moreover, remove a few unused includes from qthelper.h. Surprisingly, a number of users of qthelper.h depend on these, so readd them at the appropriate places. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/models.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/models.cpp b/qt-models/models.cpp
index 7be9c2440..70f95abc1 100644
--- a/qt-models/models.cpp
+++ b/qt-models/models.cpp
@@ -10,6 +10,7 @@
#include "core/dive.h"
#include "core/gettextfromc.h"
+#include <QDir>
#include <QLocale>
Qt::ItemFlags GasSelectionModel::flags(const QModelIndex&) const