aboutsummaryrefslogtreecommitdiffstats
path: root/core/metadata.cpp
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 /core/metadata.cpp
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 'core/metadata.cpp')
-rw-r--r--core/metadata.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/metadata.cpp b/core/metadata.cpp
index bca750b73..9c7a06116 100644
--- a/core/metadata.cpp
+++ b/core/metadata.cpp
@@ -5,6 +5,7 @@
#include "qthelper.h"
#include <QString>
#include <QFile>
+#include <QFileInfo>
#include <QDateTime>
// Weirdly, android builds fail owing to undefined UINT64_MAX