diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-10-23 09:52:05 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-10-23 13:52:36 (GMT) |
commit | 58efa8aa5e845af2e3db840a8a654bd55fb98fb0 (patch) | |
tree | 3078f5035ac9daff38d220d74400a1e59cca8628 /src/3rdparty/phonon/mmf/dummyplayer.h | |
parent | 1c6bd7f61d2cbe0b8c0fa451f5f9a7efdfaf04c7 (diff) | |
download | Qt-58efa8aa5e845af2e3db840a8a654bd55fb98fb0.zip Qt-58efa8aa5e845af2e3db840a8a654bd55fb98fb0.tar.gz Qt-58efa8aa5e845af2e3db840a8a654bd55fb98fb0.tar.bz2 |
Improve error handling.
Errors reported via:
* the DummyPlayer didn't work due to it not doing the usual state
transitions/emission
* MediaObject::setSource() due to errors being emitted
before connections being set up.
* A general state bug.
Task-number: QTBUG-4752
Reviewed-by: Gareth Stockwell
Diffstat (limited to 'src/3rdparty/phonon/mmf/dummyplayer.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/dummyplayer.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/3rdparty/phonon/mmf/dummyplayer.h b/src/3rdparty/phonon/mmf/dummyplayer.h index 9ff9f78..c6270c9 100644 --- a/src/3rdparty/phonon/mmf/dummyplayer.h +++ b/src/3rdparty/phonon/mmf/dummyplayer.h @@ -54,7 +54,6 @@ public: virtual bool isSeekable() const; virtual qint64 currentTime() const; virtual Phonon::State state() const; - virtual QString errorString() const; virtual Phonon::ErrorType errorType() const; virtual qint64 totalTime() const; virtual MediaSource source() const; @@ -64,9 +63,6 @@ public: // AbstractPlayer virtual void doSetTickInterval(qint32 interval); - -protected: - virtual void changeState(PrivateState newState); }; } } |