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 <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2017-11-22 19:22:02 +01:00 committed by Dirk Hohndel
parent 64704d6e5a
commit 806c7077f2
3 changed files with 16 additions and 0 deletions

View file

@ -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();