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 /core/qthelper.h | |
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 'core/qthelper.h')
-rw-r--r-- | core/qthelper.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/qthelper.h b/core/qthelper.h index c53b185a2..c0457256b 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -19,15 +19,12 @@ enum watertypes {FRESHWATER, BRACKISHWATER, EN13319WATER, SALTWATER, DC_WATERTYP #ifdef __cplusplus -#include <QMultiMap> #include <QString> -#include <QTranslator> -#include <QDir> #include "core/gettextfromc.h" + QString weight_string(int weight_in_grams); QString distance_string(int distanceInMeters); bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_text, bool *parsed_out = 0); -QList<int> getDivesInTrip(struct dive_trip *trip); QString get_gas_string(struct gasmix gas); QString get_taglist_string(struct tag_entry *tag_list); QStringList stringToList(const QString &s); |