summaryrefslogtreecommitdiffstats
path: root/qthelper.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-07-30 22:38:28 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-31 10:29:33 -0700
commitc13e5d069cefe2015d134d45f9fa9b1f52659eae (patch)
tree4818928a6fead989468a8500b75160def5f396b3 /qthelper.h
parentf8b64da1365e2919adacc5f928358b474844ebdc (diff)
downloadsubsurface-c13e5d069cefe2015d134d45f9fa9b1f52659eae.tar.gz
Save the gps edit into the current dive_site
The accept method didn't save the gps edit even if we put correct text on it. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qthelper.h')
-rw-r--r--qthelper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qthelper.h b/qthelper.h
index 1beafa27f..4a5ade711 100644
--- a/qthelper.h
+++ b/qthelper.h
@@ -35,4 +35,6 @@ volume_t string_to_volume(const char *str, pressure_t workp);
fraction_t string_to_fraction(const char *str);
int getCloudURL(QString &filename);
void loadPreferences();
+bool parseGpsText(const QString &gps_text, double *latitude, double *longitude);
+
#endif // QTHELPER_H