summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-09-10 02:01:34 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-09-10 02:01:34 (GMT)
commit0e0d716684f90e1ba5f34dc7ad961bc323b711ed (patch)
tree464fbb0e984bcba94ac1ecef0e5080b62d2fa2f5 /src/3rdparty
parent2b1a5032018a9636a391b78ef5681e59ca6404bc (diff)
downloadQt-0e0d716684f90e1ba5f34dc7ad961bc323b711ed.zip
Qt-0e0d716684f90e1ba5f34dc7ad961bc323b711ed.tar.gz
Qt-0e0d716684f90e1ba5f34dc7ad961bc323b711ed.tar.bz2
Remove an unimplementable TODO.
MvpuoOpenComplete's TInt aError doesn't map to Phonon::ErrorType.
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/phonon/mmf/videoplayer.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/3rdparty/phonon/mmf/videoplayer.cpp b/src/3rdparty/phonon/mmf/videoplayer.cpp
index 4f9834a..c18af9c 100644
--- a/src/3rdparty/phonon/mmf/videoplayer.cpp
+++ b/src/3rdparty/phonon/mmf/videoplayer.cpp
@@ -217,12 +217,10 @@ void MMF::VideoPlayer::MvpuoOpenComplete(TInt aError)
__ASSERT_ALWAYS(LoadingState == state(), Utils::panic(InvalidStatePanic));
- if (KErrNone == aError) {
+ if (KErrNone == aError)
m_player->Prepare();
- } else {
- // TODO: set different error states according to value of aError?
+ else
setError(NormalError);
- }
TRACE_EXIT_0();
}