From 8c0d0de2e62356e1bbdad97843d185a37973c5c7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 14 Jul 2015 11:35:04 -0700 Subject: Location completer: give distance if known If both the displayed dive and the dive site which is shown as a potential completion have a GPS fix, indicate the distance. Signed-off-by: Dirk Hohndel --- qthelper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qthelper.h') diff --git a/qthelper.h b/qthelper.h index 418c2eb31..0f112ff70 100644 --- a/qthelper.h +++ b/qthelper.h @@ -13,6 +13,7 @@ extern QTranslator *qtTranslator, *ssrfTranslator; 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); extern "C" const char *printGPSCoords(int lat, int lon); QList getDivesInTrip(dive_trip_t *trip); -- cgit v1.2.3-70-g09d2