Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayerstate.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp index 135c67c..57b1c81 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp | |||
@@ -154,16 +154,19 @@ void MediaPlayerState::setPlaylist( bool b ) { | |||
154 | if ( usePlaylist == b ) { | 154 | if ( usePlaylist == b ) { |
155 | return; | 155 | return; |
156 | } | 156 | } |
157 | usePlaylist = b; | 157 | usePlaylist = b; |
158 | emit playlistToggled(b); | 158 | emit playlistToggled(b); |
159 | } | 159 | } |
160 | 160 | ||
161 | void MediaPlayerState::setPaused( bool b ) { | 161 | void MediaPlayerState::setPaused( bool b ) { |
162 | if(b) qDebug("setPaused true"); | ||
163 | else qDebug("setPaused false"); | ||
164 | |||
162 | if ( isPaused == b ) { | 165 | if ( isPaused == b ) { |
163 | return; | 166 | return; |
164 | } | 167 | } |
165 | isPaused = b; | 168 | isPaused = b; |
166 | emit pausedToggled(b); | 169 | emit pausedToggled(b); |
167 | } | 170 | } |
168 | 171 | ||
169 | void MediaPlayerState::setPlaying( bool b ) { | 172 | void MediaPlayerState::setPlaying( bool b ) { |