summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-09-06 10:10:47 +0200
committerFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-09-06 10:11:31 +0200
commitde4e125aff5aa9feb2a6a36c22047d354df0cf94 (patch)
tree6fa6a0641d47d09d4325dd511a2576c4804664e7 /examples
parentffbdf2cf0517cc773a012dc07f17532297e03d8d (diff)
parentffb10da5ad4d3ff200fbca9438538cc5102296e3 (diff)
Merge remote-tracking branch 'origin/5.6' into dev
Diffstat (limited to 'examples')
-rw-r--r--examples/positioning/geoflickr/flickrmobile/GeoTab.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/positioning/geoflickr/flickrmobile/GeoTab.qml b/examples/positioning/geoflickr/flickrmobile/GeoTab.qml
index 1226120d..4505319f 100644
--- a/examples/positioning/geoflickr/flickrmobile/GeoTab.qml
+++ b/examples/positioning/geoflickr/flickrmobile/GeoTab.qml
@@ -94,6 +94,15 @@ Rectangle {
id: positionSource
onPositionChanged: { planet.source = "images/sun.png"; }
+ onSourceErrorChanged: {
+ if (sourceError == PositionSource.NoError)
+ return
+
+ console.log("Source error: " + sourceError)
+ activityText.fadeOut = true
+ stop()
+ }
+
onUpdateTimeout: {
activityText.fadeOut = true
}