summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-09 00:02:49 (UTC)
committer simon <simon>2002-12-09 00:02:49 (UTC)
commit373051a9f8e624e57bac83bb09af1840fef14b4c (patch) (unidiff)
tree8061ea742db5d311607e48dc2b033f971a0a4042
parent9c2b4d917af88b6051a3bc4273d6a50d124f65dd (diff)
downloadopie-373051a9f8e624e57bac83bb09af1840fef14b4c.zip
opie-373051a9f8e624e57bac83bb09af1840fef14b4c.tar.gz
opie-373051a9f8e624e57bac83bb09af1840fef14b4c.tar.bz2
- Key_Space triggers togglePaused()
Diffstat (more/less context) (ignore 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
@@ -466,11 +466,3 @@ void AudioWidget::keyReleaseEvent( QKeyEvent *e) {
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 }