From 806c7077f2abbf8978e3fefa95b1663a31a00503 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Wed, 22 Nov 2017 19:22:02 +0100 Subject: mobile: get GPS data from dive site name When the user entered a dive site using autocompletion, it is a known site, of which we might have a GPS location already. Just fill the known site coordinates. Signed-off-by: Jan Mulder --- mobile-widgets/qmlmanager.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mobile-widgets/qmlmanager.h') diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index cde8b8dec..548f01921 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -184,6 +184,7 @@ public slots: QString getNumber(const QString& diveId); QString getDate(const QString& diveId); QString getCurrentPosition(); + QString getGpsFromSiteName(const QString& siteName); QString getVersion() const; void deleteGpsFix(quint64 when); void revertToNoCloudIfNeeded(); -- cgit v1.2.3-70-g09d2