summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp
index 2a158a8..8f34736 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.cpp
+++ b/noncore/multimedia/opieplayer2/audiowidget.cpp
@@ -464,15 +464,7 @@ void AudioWidget::keyReleaseEvent( QKeyEvent *e) {
mediaPlayerState.toggleBlank();
break;
case Key_Space: {
- if(mediaPlayerState.isPlaying()) {
- // toggleButton(1);
- mediaPlayerState.setPlaying(FALSE);
- // toggleButton(1);
- } else {
- // toggleButton(0);
- mediaPlayerState.setPlaying(TRUE);
- // toggleButton(0);
- }
+ mediaPlayerState.togglePaused();
}
break;
case Key_Down: