summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-08-16 16:54:31 (UTC)
committer harlekin <harlekin>2002-08-16 16:54:31 (UTC)
commitbc53cd5b0218ca10b6e88bb03a558230b7781cf7 (patch) (side-by-side diff)
tree8a089ca404f55f0e16bb81de3b98ce51f1c10496
parentfec49e4f9f8d016e335eaca1630f4108801cc3ce (diff)
downloadopie-bc53cd5b0218ca10b6e88bb03a558230b7781cf7.zip
opie-bc53cd5b0218ca10b6e88bb03a558230b7781cf7.tar.gz
opie-bc53cd5b0218ca10b6e88bb03a558230b7781cf7.tar.bz2
forgot something
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
@@ -378,14 +378,18 @@ void VideoWidget::makeVisible() {
} else {
showMaximized();
setBackgroundPixmap( *pixBg );
if ( mediaPlayerState->streaming() ) {
slider->hide();
+ disconnect( mediaPlayerState, SIGNAL( positionChanged(long) ),this, SLOT( setPosition(long) ) );
+ disconnect( mediaPlayerState, SIGNAL( positionUpdated(long) ),this, SLOT( setPosition(long) ) );
} else {
slider->show();
+ connect( mediaPlayerState, SIGNAL( positionChanged(long) ),this, SLOT( setPosition(long) ) );
+ connect( mediaPlayerState, SIGNAL( positionUpdated(long) ),this, SLOT( setPosition(long) ) );
}
videoFrame->setGeometry( QRect( 0, 30, 240, 170 ) );
qApp->processEvents();
}
}