summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp
index 956789f..6f3842f 100644
--- a/noncore/multimedia/opieplayer2/videowidget.cpp
+++ b/noncore/multimedia/opieplayer2/videowidget.cpp
@@ -376,18 +376,22 @@ void VideoWidget::makeVisible() {
376 slider->hide(); 376 slider->hide();
377 videoFrame-> setGeometry ( 0, 0, width ( ), height ( )); 377 videoFrame-> setGeometry ( 0, 0, width ( ), height ( ));
378 378
379 } else { 379 } else {
380 showMaximized(); 380 showMaximized();
381 setBackgroundPixmap( *pixBg ); 381 setBackgroundPixmap( *pixBg );
382 if ( mediaPlayerState->streaming() ) { 382 if ( mediaPlayerState->streaming() ) {
383 slider->hide(); 383 slider->hide();
384 disconnect( mediaPlayerState, SIGNAL( positionChanged(long) ),this, SLOT( setPosition(long) ) );
385 disconnect( mediaPlayerState, SIGNAL( positionUpdated(long) ),this, SLOT( setPosition(long) ) );
384 } else { 386 } else {
385 slider->show(); 387 slider->show();
388 connect( mediaPlayerState, SIGNAL( positionChanged(long) ),this, SLOT( setPosition(long) ) );
389 connect( mediaPlayerState, SIGNAL( positionUpdated(long) ),this, SLOT( setPosition(long) ) );
386 } 390 }
387 videoFrame->setGeometry( QRect( 0, 30, 240, 170 ) ); 391 videoFrame->setGeometry( QRect( 0, 30, 240, 170 ) );
388 qApp->processEvents(); 392 qApp->processEvents();
389 } 393 }
390} 394}
391 395
392 396
393void VideoWidget::paintEvent( QPaintEvent * pe) { 397void VideoWidget::paintEvent( QPaintEvent * pe) {