diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2015-09-06 10:10:47 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2015-09-06 10:11:31 +0200 |
commit | de4e125aff5aa9feb2a6a36c22047d354df0cf94 (patch) | |
tree | 6fa6a0641d47d09d4325dd511a2576c4804664e7 /examples | |
parent | ffbdf2cf0517cc773a012dc07f17532297e03d8d (diff) | |
parent | ffb10da5ad4d3ff200fbca9438538cc5102296e3 (diff) | |
download | qtlocation-de4e125aff5aa9feb2a6a36c22047d354df0cf94.tar.gz |
Merge remote-tracking branch 'origin/5.6' into dev
Change-Id: Ia305efe8c4b616ed70309dfcae47f39cd1a4c4da
Diffstat (limited to 'examples')
-rw-r--r-- | examples/positioning/geoflickr/flickrmobile/GeoTab.qml | 9 |
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 } |