From 7f4d9db962e73aa5d5089c43c99b78b3690ffb87 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 31 May 2019 16:09:14 +0200 Subject: Cleanup: move trip-related functions into own translation unit These functions were spread out over dive.c and divelist.c. Move them into their own file to make all this a bit less monolithic. Signed-off-by: Berthold Stoeger --- core/qthelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/qthelper.h') diff --git a/core/qthelper.h b/core/qthelper.h index 53b0cc59a..2ff464c2a 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -24,7 +24,7 @@ enum inertgas {N2, HE}; 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 getDivesInTrip(dive_trip_t *trip); +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_taglist_string(struct tag_entry *tag_list); -- cgit v1.2.3-70-g09d2