summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-08-14 00:04:55 (UTC)
committer llornkcor <llornkcor>2002-08-14 00:04:55 (UTC)
commit29ffa9119abaf753b165c5c241b22938eeaef301 (patch) (side-by-side diff)
tree89ae13f40e3939dcccb711bbb0a225b857db0a30
parent05a272a0dc03c37f143546aa5cde228bd3ba79bb (diff)
downloadopie-29ffa9119abaf753b165c5c241b22938eeaef301.zip
opie-29ffa9119abaf753b165c5c241b22938eeaef301.tar.gz
opie-29ffa9119abaf753b165c5c241b22938eeaef301.tar.bz2
fullscreen working
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp
index 33153d4..b4e69b5 100644
--- a/noncore/multimedia/opieplayer2/videowidget.cpp
+++ b/noncore/multimedia/opieplayer2/videowidget.cpp
@@ -142,13 +142,13 @@ QWidget( parent, name, f ), scaledWidth( 0 ), scaledHeight( 0 ) {
connect( mediaPlayerState, SIGNAL( playingToggled(bool) ), this, SLOT( setPlaying(bool) ) );
setLength( mediaPlayerState->length() );
setPosition( mediaPlayerState->position() );
////////////////////////// FIXME
-// setFullscreen( mediaPlayerState->fullscreen() );
+ setFullscreen( mediaPlayerState->fullscreen() );
setPaused( mediaPlayerState->paused() );
setPlaying( mediaPlayerState->playing() );
qDebug("finished videowidget");
}
@@ -393,12 +393,13 @@ void VideoWidget::makeVisible() {
videoFrame-> setGeometry ( 0, 0, width ( ), height ( ));
} else {
showNormal();
showMaximized();
slider->show();
videoFrame->setGeometry( QRect( 10, 20, 220, 160 ) );
+ qApp->processEvents();
}
}
void VideoWidget::paintEvent( QPaintEvent * pe) {
QPainter p( this );