author | zecke <zecke> | 2004-09-23 22:27:45 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-23 22:27:45 (UTC) |
commit | b33878c73018d91101e828101e632c96d39c1381 (patch) (unidiff) | |
tree | c2606b2b9941e3a80649415207bd2b9be27ba998 | |
parent | 97ab73d99688443d02086b4f00d1de7c81faa3c7 (diff) | |
download | opie-b33878c73018d91101e828101e632c96d39c1381.zip opie-b33878c73018d91101e828101e632c96d39c1381.tar.gz opie-b33878c73018d91101e828101e632c96d39c1381.tar.bz2 |
If you close the Audio-/VideoWidget and the stream was paused
it didn't play on request. Remove the paused state of MediaPlayerState
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp index ba4e11a..44bc46b 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp | |||
@@ -210,16 +210,17 @@ void MediaPlayerState::setPrev(){ | |||
210 | } | 210 | } |
211 | 211 | ||
212 | void MediaPlayerState::setNext() { | 212 | void MediaPlayerState::setNext() { |
213 | emit next(); | 213 | emit next(); |
214 | } | 214 | } |
215 | 215 | ||
216 | void MediaPlayerState::setList() { | 216 | void MediaPlayerState::setList() { |
217 | setPlaying( FALSE ); | 217 | setPlaying( FALSE ); |
218 | paused = false; | ||
218 | setDisplayType( MediaSelection ); | 219 | setDisplayType( MediaSelection ); |
219 | } | 220 | } |
220 | 221 | ||
221 | void MediaPlayerState::setVideo() { | 222 | void MediaPlayerState::setVideo() { |
222 | setDisplayType( Video ); | 223 | setDisplayType( Video ); |
223 | } | 224 | } |
224 | 225 | ||
225 | void MediaPlayerState::setAudio() { | 226 | void MediaPlayerState::setAudio() { |