diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-10-19 12:04:57 +0200 |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-10-19 16:21:21 +0200 |
commit | f9d36789b4f2565f342f22d62a5106e5d5ca3389 (patch) | |
tree | e12f900a45e8cb31ab4556221373f1935e6d9760 /demos | |
parent | 6018d7a21a1ba336a59e3cda161b7cfeb144b4b5 (diff) | |
download | qt4-tools-f9d36789b4f2565f342f22d62a5106e5d5ca3389.tar.gz |
Does not disable full screen when end of video playlist is reached.
Tested on Symbian and Windows(DS9).
Task-number: QTBUG-4869
Reviewed-by: Gareth Stockwell
Diffstat (limited to 'demos')
-rw-r--r-- | demos/qmediaplayer/mediaplayer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/qmediaplayer/mediaplayer.cpp b/demos/qmediaplayer/mediaplayer.cpp index baac23658a..e1ceb0e007 100644 --- a/demos/qmediaplayer/mediaplayer.cpp +++ b/demos/qmediaplayer/mediaplayer.cpp @@ -367,6 +367,9 @@ void MediaPlayer::stateChanged(Phonon::State newstate, Phonon::State oldstate) case Phonon::PausedState: case Phonon::StoppedState: playButton->setIcon(playIcon); + + m_videoWidget->setFullScreen(false); + if (m_MediaObject.currentSource().type() != Phonon::MediaSource::Invalid){ playButton->setEnabled(true); rewindButton->setEnabled(true); |