summaryrefslogtreecommitdiff
path: root/examples/declarative
diff options
context:
space:
mode:
authorIan Chen <ian.1.chen@nokia.com>2012-06-07 14:07:11 +1000
committerQt by Nokia <qt-info@nokia.com>2012-06-07 08:16:53 +0200
commit10eacae094f2a97c29abac9090c17b85dedff77c (patch)
tree94fd1e988716b3f194c862e425b11845824fd4c2 /examples/declarative
parentc841313bed231e570bb277115e9cb6716bd6cf31 (diff)
downloadqtlocation-10eacae094f2a97c29abac9090c17b85dedff77c.tar.gz
Move mousearea outside of videoouput in mapviewer
As per documentation: qml-qtmultimedia5-mediaplayer.html Change-Id: I2fce76fca015b024dafb244ca6d63150bfe08070 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/mapviewer/content/map/VideoItem.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/declarative/mapviewer/content/map/VideoItem.qml b/examples/declarative/mapviewer/content/map/VideoItem.qml
index d94baf72..cbb565e6 100644
--- a/examples/declarative/mapviewer/content/map/VideoItem.qml
+++ b/examples/declarative/mapviewer/content/map/VideoItem.qml
@@ -78,14 +78,14 @@ MapQuickItem { //to be used inside MapComponent only
id: videoItem
source: player
anchors.fill: parent
- MouseArea{
- anchors.fill: parent
- onClicked: {
- if (player.playing)
- player.stop()
- else
- player.play()
- }
+ }
+ MouseArea{
+ anchors.fill: parent
+ onClicked: {
+ if (player.playing)
+ player.stop()
+ else
+ player.play()
}
}
}