summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp
index 419c3ae..a4e6b6e 100644
--- a/noncore/multimedia/opieplayer2/videowidget.cpp
+++ b/noncore/multimedia/opieplayer2/videowidget.cpp
@@ -193,4 +193,7 @@ void VideoWidget::resizeEvent( QResizeEvent * ) {
slider->setGeometry( QRect( 15, h - 30, w - 90, 20 ) );
slider->setBackgroundOrigin( QWidget::ParentOrigin );
+ slider->setFocusPolicy( QWidget::NoFocus );
+make slider->setBackgroundPixmap( *pixBg );
+
// time.setGeometry( QRect( w - 85, h - 30, 70, 20 ) );
xoff = 0;// ( imgUp->width() ) / 2;
@@ -198,4 +201,5 @@ void VideoWidget::resizeEvent( QResizeEvent * ) {
QPoint p( xoff, yoff );
+
QPixmap *pixUp = combineVImageWithBackground( *imgUp, *pixBg, p );
QPixmap *pixDn = combineVImageWithBackground( *imgDn, *pixBg, p );
@@ -341,5 +345,4 @@ void VideoWidget::makeVisible() {
videoFrame-> setGeometry ( 0, 0, width ( ), height ( ));
} else {
- setBackgroundPixmap( Resource::loadPixmap( backgroundPix ) );
showNormal();
showMaximized();