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>
This commit is contained in:
Tomaz Canabrava 2015-07-30 22:38:28 -03:00 committed by Dirk Hohndel
parent f8b64da136
commit c13e5d069c
2 changed files with 9 additions and 3 deletions

View file

@ -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