summaryrefslogtreecommitdiffstats
path: root/demos/qmediaplayer
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-10-21 09:27:22 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-10-23 13:50:48 (GMT)
commit7177618fd8ae91e553573263d5dd78a99c64e118 (patch)
treede0bc756324149a0a076ff7f97fcb4eeec6243af /demos/qmediaplayer
parentdd48c27fcdded149c8db7d08107632c2476178ca (diff)
downloadQt-7177618fd8ae91e553573263d5dd78a99c64e118.zip
Qt-7177618fd8ae91e553573263d5dd78a99c64e118.tar.gz
Qt-7177618fd8ae91e553573263d5dd78a99c64e118.tar.bz2
Listen to hasVideoChanged() signal instead, such that we're more robust.
This covers cases where the backend knows about video capability in a state other than the LoadingState. Patch by Adookkattil Saleem, slightly modified. Reviewed-by: Gareth Stockwell
Diffstat (limited to 'demos/qmediaplayer')
-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 83f14e8..f3af7cc 100644
--- a/demos/qmediaplayer/mediaplayer.h
+++ b/demos/qmediaplayer/mediaplayer.h
@@ -109,6 +109,7 @@ private slots:
void bufferStatus(int percent);
void openUrl();
void configureEffect();
+ void hasVideoChanged(bool);
private:
QIcon playIcon;