-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 4 |
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 | |||
@@ -378,14 +378,18 @@ void VideoWidget::makeVisible() { | |||
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 | ||