summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-08-15 20:57:59 (UTC)
committer harlekin <harlekin>2002-08-15 20:57:59 (UTC)
commit8b6d28983e62dd26acfeb9cf7408e21f68558a16 (patch) (side-by-side diff)
tree14e39d98af67d3716bb643dd44dca440fa830459
parentbe99f951c39d19a6e9923103434afdb293741d35 (diff)
downloadopie-8b6d28983e62dd26acfeb9cf7408e21f68558a16.zip
opie-8b6d28983e62dd26acfeb9cf7408e21f68558a16.tar.gz
opie-8b6d28983e62dd26acfeb9cf7408e21f68558a16.tar.bz2
kill artefacts when getting back to videowidget
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp
index c2080e6..0521419 100644
--- a/noncore/multimedia/opieplayer2/videowidget.cpp
+++ b/noncore/multimedia/opieplayer2/videowidget.cpp
@@ -141,7 +141,6 @@ QWidget( parent, name, f ), scaledWidth( 0 ), scaledHeight( 0 ) {
setLength( mediaPlayerState->length() );
setPosition( mediaPlayerState->position() );
setFullscreen( mediaPlayerState->fullscreen() );
-// setPaused( mediaPlayerState->paused() );
setPlaying( mediaPlayerState->playing() );
}
@@ -393,8 +392,8 @@ void VideoWidget::makeVisible() {
videoFrame-> setGeometry ( 0, 0, width ( ), height ( ));
} else {
- showNormal();
showMaximized();
+ setBackgroundPixmap( *pixBg );
slider->show();
videoFrame->setGeometry( QRect( 0, 30, 240, 170 ) );
qApp->processEvents();