diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-12-28 14:30:57 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-29 08:34:09 -0800 |
commit | bbbd4c88180d43604c5e6bbe093461e93859d706 (patch) | |
tree | cde7817eb765b94e02c3883347a04770143f7688 /desktop-widgets | |
parent | 8758b95881ac65c95a1dcd1c6b419e538b38fbf0 (diff) | |
download | subsurface-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')
-rw-r--r-- | desktop-widgets/preferences/preferences_language.cpp | 2 | ||||
-rw-r--r-- | desktop-widgets/templatelayout.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/desktop-widgets/preferences/preferences_language.cpp b/desktop-widgets/preferences/preferences_language.cpp index f2519ef2c..46e65722d 100644 --- a/desktop-widgets/preferences/preferences_language.cpp +++ b/desktop-widgets/preferences/preferences_language.cpp @@ -4,7 +4,7 @@ #include "core/qthelper.h" #include "core/settings/qPrefLanguage.h" -#include <QApplication> +#include <QDir> #include <QMessageBox> #include <QSortFilterProxyModel> 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> |