From 8f119dcf72db445530b39e0722c3afad7c130efb Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 15 Jul 2019 23:44:39 +0200 Subject: Cleanup: remove includes from qthelper.h To reduce interdependencies, remove the dive.h and divelist.h includes in qthelper.h Signed-off-by: Berthold Stoeger --- core/qthelper.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'core/qthelper.h') diff --git a/core/qthelper.h b/core/qthelper.h index 685525a70..74185b467 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -5,8 +5,9 @@ #include #include #include -#include "dive.h" -#include "divelist.h" +#include "core/pref.h" + +struct picture; // 1) Types @@ -26,7 +27,7 @@ QString distance_string(int distanceInMeters); bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_text, bool *parsed_out = 0); QList getDivesInTrip(struct dive_trip *trip); QString get_gas_string(struct gasmix gas); -QString get_divepoint_gas_string(struct dive *d, const divedatapoint& dp); +QString get_divepoint_gas_string(struct dive *d, const struct divedatapoint &dp); QString get_taglist_string(struct tag_entry *tag_list); void read_hashes(); void write_hashes(); -- cgit v1.2.3-70-g09d2