summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/videowidget.cpp
authorharlekin <harlekin>2002-09-24 20:26:17 (UTC)
committer harlekin <harlekin>2002-09-24 20:26:17 (UTC)
commit7a04855af4e042152a47e90192dc4c2c20858e8c (patch) (unidiff)
treecca4567d71b8210dc8905804cebc203b71fc4958 /noncore/multimedia/opieplayer2/videowidget.cpp
parent02074fb65c5e879ef1d28e52cf4e1ec4a6727599 (diff)
downloadopie-7a04855af4e042152a47e90192dc4c2c20858e8c.zip
opie-7a04855af4e042152a47e90192dc4c2c20858e8c.tar.gz
opie-7a04855af4e042152a47e90192dc4c2c20858e8c.tar.bz2
adapted to the new api
Diffstat (limited to 'noncore/multimedia/opieplayer2/videowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp
index b0ec673..f5f5c37 100644
--- a/noncore/multimedia/opieplayer2/videowidget.cpp
+++ b/noncore/multimedia/opieplayer2/videowidget.cpp
@@ -384,7 +384,7 @@ void VideoWidget::makeVisible() {
384 resize( qApp->desktop()->size() ); 384 resize( qApp->desktop()->size() );
385 slider->hide(); 385 slider->hide();
386 videoFrame-> setGeometry ( 0, 0, width ( ), height ( )); 386 videoFrame-> setGeometry ( 0, 0, width ( ), height ( ));
387 qApp->processEvents(); 387// qApp->processEvents();
388 } else { 388 } else {
389 showNormal(); 389 showNormal();
390 showMaximized(); 390 showMaximized();
@@ -398,9 +398,8 @@ void VideoWidget::makeVisible() {
398 connect( mediaPlayerState, SIGNAL( positionChanged(long) ),this, SLOT( setPosition(long) ) ); 398 connect( mediaPlayerState, SIGNAL( positionChanged(long) ),this, SLOT( setPosition(long) ) );
399 connect( mediaPlayerState, SIGNAL( positionUpdated(long) ),this, SLOT( setPosition(long) ) ); 399 connect( mediaPlayerState, SIGNAL( positionUpdated(long) ),this, SLOT( setPosition(long) ) );
400 } 400 }
401
402 QWidget *d = QApplication::desktop(); 401 QWidget *d = QApplication::desktop();
403 int w=d->width(); 402 int w=d->width();
404 int h=d->height(); 403 int h=d->height();
405 404
406 if(w>h) { 405 if(w>h) {
@@ -409,7 +408,7 @@ void VideoWidget::makeVisible() {
409 } else 408 } else
410 videoFrame->setGeometry( QRect( 0, 30, 240, 170 ) ); 409 videoFrame->setGeometry( QRect( 0, 30, 240, 170 ) );
411 410
412 qApp->processEvents(); 411// qApp->processEvents();
413 } 412 }
414} 413}
415 414