summaryrefslogtreecommitdiffstats
path: root/demos/qmediaplayer/mediaplayer.h
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-10-21 14:53:03 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-10-21 14:54:45 (GMT)
commitbc2de3fbcc3f19c80938bdea17f01aa7da9f055e (patch)
treea4cd62affb92e474557beb5bc013cea4ed0ed7d5 /demos/qmediaplayer/mediaplayer.h
parentb49e0184d29c25c99e7001cb1f50cae34423d706 (diff)
downloadQt-bc2de3fbcc3f19c80938bdea17f01aa7da9f055e.zip
Qt-bc2de3fbcc3f19c80938bdea17f01aa7da9f055e.tar.gz
Qt-bc2de3fbcc3f19c80938bdea17f01aa7da9f055e.tar.bz2
Listen on hasVideoChanged() instead of only checking hasVideo().
This means that when the backend's knowledge about the content's video capability changes outside the LoadingState, it still work. This apparently matters for the Helix backend. Patch supplied by Adookkattil Saleem (Nokia-D/Dallas). Reviewed-by: Gareth Stockwell Reviewed-by: Frans Englich
Diffstat (limited to 'demos/qmediaplayer/mediaplayer.h')
-rw-r--r--demos/qmediaplayer/mediaplayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/qmediaplayer/mediaplayer.h b/demos/qmediaplayer/mediaplayer.h
index 40ffa40..83f14e8 100644
--- a/demos/qmediaplayer/mediaplayer.h
+++ b/demos/qmediaplayer/mediaplayer.h
@@ -93,6 +93,7 @@ public slots:
void playPause();
void scaleChanged(QAction *);
void aspectChanged(QAction *);
+ void hasVideoChanged(bool);
private slots:
void setAspect(int);