diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-09-10 02:01:34 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-09-10 02:01:34 (GMT) |
commit | 0e0d716684f90e1ba5f34dc7ad961bc323b711ed (patch) | |
tree | 464fbb0e984bcba94ac1ecef0e5080b62d2fa2f5 | |
parent | 2b1a5032018a9636a391b78ef5681e59ca6404bc (diff) | |
download | Qt-0e0d716684f90e1ba5f34dc7ad961bc323b711ed.zip Qt-0e0d716684f90e1ba5f34dc7ad961bc323b711ed.tar.gz Qt-0e0d716684f90e1ba5f34dc7ad961bc323b711ed.tar.bz2 |
Remove an unimplementable TODO.
MvpuoOpenComplete's TInt aError doesn't map to Phonon::ErrorType.
-rw-r--r-- | src/3rdparty/phonon/mmf/videoplayer.cpp | 6 |
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(); } |