aboutsummaryrefslogtreecommitdiffstats
path: root/qthelper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-12 22:24:12 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-12 22:45:47 -0800
commit4e95beabc2fd7cdd2efcceb226417f84a903861f (patch)
tree0b8aa99e606a11476efc212a62f585c33355e1cf /qthelper.cpp
parent616cb18b2919d8131c1520975d7c5eb7e8e4aaec (diff)
downloadsubsurface-4e95beabc2fd7cdd2efcceb226417f84a903861f.tar.gz
Remove coordinates from main tab
It seems to make sense to only have them on the dive site screen. For the main UI they were redundant (we have the map) and not all that useful. The only time people would want them is if they wanted to manually add GPS coordinates for a dive, but that should now be done via the dive site UI. There are a couple of FIXMEs in the code and a few code blocks that have been commented out as they will be needed in one form or another once this GPS handling is done on the dive site UI, which right now it is NOT. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qthelper.cpp')
-rw-r--r--qthelper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qthelper.cpp b/qthelper.cpp
index acb1e103a..902dc5e6d 100644
--- a/qthelper.cpp
+++ b/qthelper.cpp
@@ -165,6 +165,7 @@ bool parseGpsText(const QString &gps_text, double *latitude, double *longitude)
pos == gps_text.size();
}
+#if 0 // we'll need something like this for the dive site management, eventually
bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_text, bool *parsed_out)
{
double latitude, longitude;
@@ -193,6 +194,7 @@ bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_te
dive->longitude.udeg = longudeg;
return true;
}
+#endif
QList<int> getDivesInTrip(dive_trip_t *trip)
{