summaryrefslogtreecommitdiff
path: root/src/3rdparty
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2009-11-09 15:09:58 +0000
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2009-11-09 18:35:47 +0000
commit7c8676c35df44404aa30824ae7856408c3c5a629 (patch)
tree9a2fc0ce0e628d2be144163e875e703d830448f7 /src/3rdparty
parent869323e1d6e7524050e2240fdc1bedb7b7639444 (diff)
downloadqt4-tools-7c8676c35df44404aa30824ae7856408c3c5a629.tar.gz
Allowed execution of pause command when backend is in error state
When qmediaplayer receives a stateChanged(ErrorState) signal, it first displays a dialog, and then calls pause() on the media object. This change allows that pause command to be executed on the underlying MMF client API. Reviewed-by: Frans Englich
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/phonon/mmf/abstractmediaplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/mmf/abstractmediaplayer.cpp b/src/3rdparty/phonon/mmf/abstractmediaplayer.cpp
index f2efaa09f0..4d7bc06c0e 100644
--- a/src/3rdparty/phonon/mmf/abstractmediaplayer.cpp
+++ b/src/3rdparty/phonon/mmf/abstractmediaplayer.cpp
@@ -109,12 +109,12 @@ void MMF::AbstractMediaPlayer::pause()
case GroundState:
case LoadingState:
case PausedState:
- case ErrorState:
// Do nothing
break;
case StoppedState:
case PlayingState:
+ case ErrorState:
case BufferingState:
doPause();
stopTickTimer();