summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp5
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.h1
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp10
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.h1
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 * ) {
333 } 333 }
334} 334}
335 335
336void AudioWidget::showEvent( QShowEvent* ) {
337 QMouseEvent event( QEvent::MouseMove, QPoint( 0, 0 ), 0, 0 );
338 mouseMoveEvent( &event );
339}
340
341void AudioWidget::keyReleaseEvent( QKeyEvent *e) { 336void AudioWidget::keyReleaseEvent( QKeyEvent *e) {
342 switch ( e->key() ) { 337 switch ( e->key() ) {
343 ////////////////////////////// Zaurus keys 338 ////////////////////////////// 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:
74protected: 74protected:
75 void doBlank(); 75 void doBlank();
76 void doUnblank(); 76 void doUnblank();
77 void showEvent( QShowEvent *se );
78 void resizeEvent( QResizeEvent *re ); 77 void resizeEvent( QResizeEvent *re );
79 void timerEvent( QTimerEvent *event ); 78 void timerEvent( QTimerEvent *event );
80 void keyReleaseEvent( QKeyEvent *e); 79 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 ) {
249 MediaWidget::mouseReleaseEvent( event ); 249 MediaWidget::mouseReleaseEvent( event );
250} 250}
251 251
252void VideoWidget::showEvent( QShowEvent* ) { 252void VideoWidget::backToNormal() {
253 QMouseEvent event( QEvent::MouseMove, QPoint( 0, 0 ), 0, 0 );
254 mouseMoveEvent( &event );
255}
256
257
258 void VideoWidget::backToNormal() {
259 mediaPlayerState.setFullscreen( FALSE ); 253 mediaPlayerState.setFullscreen( FALSE );
260 makeVisible(); 254 makeVisible();
261 } 255}
262 256
263void VideoWidget::makeVisible() { 257void VideoWidget::makeVisible() {
264 if ( mediaPlayerState.isFullscreen() ) { 258 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:
75protected: 75protected:
76 76
77 void resizeEvent( QResizeEvent * ); 77 void resizeEvent( QResizeEvent * );
78 void showEvent( QShowEvent *se );
79 void mouseReleaseEvent( QMouseEvent *event ); 78 void mouseReleaseEvent( QMouseEvent *event );
80 void keyReleaseEvent( QKeyEvent *e); 79 void keyReleaseEvent( QKeyEvent *e);
81 80