summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorIan Chen <ian.1.chen@nokia.com>2012-07-06 16:15:41 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-09 03:21:28 +0200
commita7517f6f7ba4a2e6845db924defaf98f7b44f308 (patch)
tree02b17dec875e1be8dfd4707ce517edb2418d52fd /examples
parent91d20f996be298e7a89a3b1376b2cdc72ae1d8b2 (diff)
Fix VideoItem's checking of playback state
Change-Id: Ied6d7831fe7e00f87976a02af3b2a311abadf6be Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/mapviewer/content/map/VideoItem.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/mapviewer/content/map/VideoItem.qml b/examples/declarative/mapviewer/content/map/VideoItem.qml
index 3ee8d2fa..e6f26723 100644
--- a/examples/declarative/mapviewer/content/map/VideoItem.qml
+++ b/examples/declarative/mapviewer/content/map/VideoItem.qml
@@ -82,7 +82,7 @@ MapQuickItem { //to be used inside MapComponent only
MouseArea{
anchors.fill: parent
onClicked: {
- if (player.playing)
+ if (player.playbackState == MediaPlayer.PlayingState)
player.stop()
else
player.play()