Diffstat (limited to 'noncore/multimedia/opieplayer2') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 5 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.h | 1 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 10 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.h | 1 |
4 files changed, 2 insertions, 15 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 8e9bbf1..23d12ec 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp @@ -333,11 +333,6 @@ void AudioWidget::timerEvent( QTimerEvent * ) { } } -void AudioWidget::showEvent( QShowEvent* ) { - QMouseEvent event( QEvent::MouseMove, QPoint( 0, 0 ), 0, 0 ); - mouseMoveEvent( &event ); -} - void AudioWidget::keyReleaseEvent( QKeyEvent *e) { switch ( e->key() ) { ////////////////////////////// Zaurus keys diff --git a/noncore/multimedia/opieplayer2/audiowidget.h b/noncore/multimedia/opieplayer2/audiowidget.h index e2e2314..53982a1 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.h +++ b/noncore/multimedia/opieplayer2/audiowidget.h @@ -74,7 +74,6 @@ signals: protected: void doBlank(); void doUnblank(); - void showEvent( QShowEvent *se ); void resizeEvent( QResizeEvent *re ); void timerEvent( QTimerEvent *event ); void keyReleaseEvent( QKeyEvent *e); diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index 04b09f9..4901e47 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp @@ -249,16 +249,10 @@ void VideoWidget::mouseReleaseEvent( QMouseEvent *event ) { MediaWidget::mouseReleaseEvent( event ); } -void VideoWidget::showEvent( QShowEvent* ) { - QMouseEvent event( QEvent::MouseMove, QPoint( 0, 0 ), 0, 0 ); - mouseMoveEvent( &event ); -} - - - void VideoWidget::backToNormal() { +void VideoWidget::backToNormal() { mediaPlayerState.setFullscreen( FALSE ); makeVisible(); - } +} void VideoWidget::makeVisible() { if ( mediaPlayerState.isFullscreen() ) { diff --git a/noncore/multimedia/opieplayer2/videowidget.h b/noncore/multimedia/opieplayer2/videowidget.h index 985c094..21a4e9e 100644 --- a/noncore/multimedia/opieplayer2/videowidget.h +++ b/noncore/multimedia/opieplayer2/videowidget.h @@ -75,7 +75,6 @@ signals: protected: void resizeEvent( QResizeEvent * ); - void showEvent( QShowEvent *se ); void mouseReleaseEvent( QMouseEvent *event ); void keyReleaseEvent( QKeyEvent *e); |