From c13e5d069cefe2015d134d45f9fa9b1f52659eae Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 30 Jul 2015 22:38:28 -0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qthelper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qthelper.h') 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 -- cgit v1.2.3-70-g09d2