author | harlekin <harlekin> | 2002-08-15 20:57:59 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-15 20:57:59 (UTC) |
commit | 8b6d28983e62dd26acfeb9cf7408e21f68558a16 (patch) (unidiff) | |
tree | 14e39d98af67d3716bb643dd44dca440fa830459 | |
parent | be99f951c39d19a6e9923103434afdb293741d35 (diff) | |
download | opie-8b6d28983e62dd26acfeb9cf7408e21f68558a16.zip opie-8b6d28983e62dd26acfeb9cf7408e21f68558a16.tar.gz opie-8b6d28983e62dd26acfeb9cf7408e21f68558a16.tar.bz2 |
kill artefacts when getting back to videowidget
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 3 |
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 ) { | |||
141 | setLength( mediaPlayerState->length() ); | 141 | setLength( mediaPlayerState->length() ); |
142 | setPosition( mediaPlayerState->position() ); | 142 | setPosition( mediaPlayerState->position() ); |
143 | setFullscreen( mediaPlayerState->fullscreen() ); | 143 | setFullscreen( mediaPlayerState->fullscreen() ); |
144 | // setPaused( mediaPlayerState->paused() ); | ||
145 | setPlaying( mediaPlayerState->playing() ); | 144 | setPlaying( mediaPlayerState->playing() ); |
146 | } | 145 | } |
147 | 146 | ||
@@ -393,8 +392,8 @@ void VideoWidget::makeVisible() { | |||
393 | videoFrame-> setGeometry ( 0, 0, width ( ), height ( )); | 392 | videoFrame-> setGeometry ( 0, 0, width ( ), height ( )); |
394 | 393 | ||
395 | } else { | 394 | } else { |
396 | showNormal(); | ||
397 | showMaximized(); | 395 | showMaximized(); |
396 | setBackgroundPixmap( *pixBg ); | ||
398 | slider->show(); | 397 | slider->show(); |
399 | videoFrame->setGeometry( QRect( 0, 30, 240, 170 ) ); | 398 | videoFrame->setGeometry( QRect( 0, 30, 240, 170 ) ); |
400 | qApp->processEvents(); | 399 | qApp->processEvents(); |