-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 10 |
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) { | |||
464 | mediaPlayerState.toggleBlank(); | 464 | mediaPlayerState.toggleBlank(); |
465 | break; | 465 | break; |
466 | case Key_Space: { | 466 | case Key_Space: { |
467 | if(mediaPlayerState.isPlaying()) { | 467 | mediaPlayerState.togglePaused(); |
468 | // toggleButton(1); | ||
469 | mediaPlayerState.setPlaying(FALSE); | ||
470 | // toggleButton(1); | ||
471 | } else { | ||
472 | // toggleButton(0); | ||
473 | mediaPlayerState.setPlaying(TRUE); | ||
474 | // toggleButton(0); | ||
475 | } | ||
476 | } | 468 | } |
477 | break; | 469 | break; |
478 | case Key_Down: | 470 | case Key_Down: |