summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-04-14 13:39:39 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-04-15 05:40:02 (GMT)
commit4f97cf29e5be9f34341dd99ad4bd8dd3d61b1441 (patch)
treed47df2fb6c22ae8c1bb9a0b66940078f769c1055 /src/3rdparty
parent468a0b27f8706e7d40f7b1c07f0cc0b50a48971b (diff)
downloadQt-4f97cf29e5be9f34341dd99ad4bd8dd3d61b1441.zip
Qt-4f97cf29e5be9f34341dd99ad4bd8dd3d61b1441.tar.gz
Qt-4f97cf29e5be9f34341dd99ad4bd8dd3d61b1441.tar.bz2
Phonon MMF: change to PausedState, not StoppedState when finished
This behaviour is required by the testPauseOnFinish step in tst_mediaobject. 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 221443e..ea2d536 100644
--- a/src/3rdparty/phonon/mmf/abstractmediaplayer.cpp
+++ b/src/3rdparty/phonon/mmf/abstractmediaplayer.cpp
@@ -375,7 +375,7 @@ void MMF::AbstractMediaPlayer::playbackComplete(int error)
}
if (KErrNone == error) {
- changeState(StoppedState);
+ changeState(PausedState);
// MediaObject::switchToNextSource deletes the current player, so we
// call it via delayed slot invokation to ensure that this object does