aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/templatelayout.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 /desktop-widgets/templatelayout.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 'desktop-widgets/templatelayout.cpp')
-rw-r--r--desktop-widgets/templatelayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/templatelayout.cpp b/desktop-widgets/templatelayout.cpp
index 94cf322f0..f1454ac6e 100644
--- a/desktop-widgets/templatelayout.cpp
+++ b/desktop-widgets/templatelayout.cpp
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
+#include <QDir>
+#include <QFile>
#include <QFileDevice>
#include <QRegularExpression>
#include <QTextStream>