Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayerstate.cpp') (more/less context) (ignore 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 | |||
@@ -150,24 +150,27 @@ void MediaPlayerState::setShuffled( bool b ) { | |||
150 | emit shuffledToggled(b); | 150 | emit shuffledToggled(b); |
151 | } | 151 | } |
152 | 152 | ||
153 | void MediaPlayerState::setPlaylist( bool b ) { | 153 | 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 ) { |
170 | if ( isPlaying == b ) { | 173 | if ( isPlaying == b ) { |
171 | return; | 174 | return; |
172 | } | 175 | } |
173 | isPlaying = b; | 176 | isPlaying = b; |