work around an issue with the connection dialog for now
authorMohammed Sameer <msameer@foolab.org>
Mon, 17 Sep 2012 00:08:03 +0000 (03:08 +0300)
committerMohammed Sameer <msameer@foolab.org>
Mon, 17 Sep 2012 00:08:03 +0000 (03:08 +0300)
qml/main.qml

index 4dd7bf8..4abbace 100644 (file)
@@ -51,7 +51,10 @@ PageStackWindow {
 
         PositionSource {
                 id: positionSource
-                active: cam.running && settings.useGps
+                active: settings.useGps
+                // TODO: we cannot bind to cam.running because camera will stop
+                // when the connection dialog pops up and we end up with an infinite loop
+                // active: cam.running && settings.useGps
                 onPositionChanged: geocode.search(position.coordinate.longitude, position.coordinate.latitude);
         }