From 8d75de5d321bac760fdbda3987e867d3e5b980bc Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 30 Jul 2014 09:46:21 -0700 Subject: Correctly report parsing success for GPS data There was at least one code flow where the parsed output parameter wasn't set to true, even though nothing was wrong with the coordinates. Fixes #592 Signed-off-by: Dirk Hohndel --- qthelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qthelper.cpp b/qthelper.cpp index c89c8d0e4..98fa785a1 100644 --- a/qthelper.cpp +++ b/qthelper.cpp @@ -172,7 +172,7 @@ bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_te int latudeg, longudeg; bool ignore; bool *parsed = parsed_out ?: &ignore; - + *parsed = true; /* if we have a master and the dive's gps address is different from it, * don't change the dive */ -- cgit v1.2.3-70-g09d2