From: "Lubomir I. Ivanov" <[email protected]>

GpsLocation::applyLocations() has an early check:
if (cnt == 0)
   return false;

The rest of the logic, if applied, should probably lead
to a:
return true;

Signed-off-by: Lubomir I. Ivanov <[email protected]>
---
 qt-mobile/gpslocation.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qt-mobile/gpslocation.cpp b/qt-mobile/gpslocation.cpp
index b335486..f85c53b 100644
--- a/qt-mobile/gpslocation.cpp
+++ b/qt-mobile/gpslocation.cpp
@@ -211,6 +211,7 @@ bool GpsLocation::applyLocations()
 
                }
        }
+       return true;
 }
 
 void GpsLocation::clearGpsData()
-- 
1.7.11.msysgit.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to