author | llornkcor <llornkcor> | 2002-08-16 11:53:21 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-16 11:53:21 (UTC) |
commit | 2ce537c4275c5071a85efae8e9862b5fd9ceb6ae (patch) (unidiff) | |
tree | 6281efe02aaf1e820b70b5940ff37c8100b931d9 /noncore/multimedia/opieplayer2/videowidget.cpp | |
parent | 52eb803145b0a246e9d0e39c57bd327365f86459 (diff) | |
download | opie-2ce537c4275c5071a85efae8e9862b5fd9ceb6ae.zip opie-2ce537c4275c5071a85efae8e9862b5fd9ceb6ae.tar.gz opie-2ce537c4275c5071a85efae8e9862b5fd9ceb6ae.tar.bz2 |
try ESCAPE as pause on ipaq builds
Diffstat (limited to 'noncore/multimedia/opieplayer2/videowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index 0521419..5a69bf5 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp | |||
@@ -478,6 +478,15 @@ void VideoWidget::keyReleaseEvent( QKeyEvent *e) { | |||
478 | mediaPlayerState->setPrev(); | 478 | mediaPlayerState->setPrev(); |
479 | break; | 479 | break; |
480 | case Key_Escape: | 480 | case Key_Escape: |
481 | #if defined(QT_QWS_IPAQ) | ||
482 | if( mediaPlayerState->isPaused ) { | ||
483 | setToggleButton( i, FALSE ); | ||
484 | mediaPlayerState->setPaused( FALSE ); | ||
485 | } else if( !mediaPlayerState->isPaused ) { | ||
486 | setToggleButton( i, TRUE ); | ||
487 | mediaPlayerState->setPaused( TRUE ); | ||
488 | } | ||
489 | #endif | ||
481 | break; | 490 | break; |
482 | 491 | ||
483 | }; | 492 | }; |