summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/videowidget.cpp
Side-by-side diff
Diffstat (limited to 'noncore/multimedia/opieplayer2/videowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp
index 8fdb3d3..d3898a0 100644
--- a/noncore/multimedia/opieplayer2/videowidget.cpp
+++ b/noncore/multimedia/opieplayer2/videowidget.cpp
@@ -289,6 +289,6 @@ void VideoWidget::paintEvent( QPaintEvent * ) {
if ( mediaPlayerState->fullscreen() ) {
// Clear the background
- p.setBrush( QBrush( Qt::black ) );
- p.drawRect( rect() );
+// p.setBrush( QBrush( Qt::black ) );
+ //p.drawRect( rect() );
} else {
@@ -297,6 +297,6 @@ void VideoWidget::paintEvent( QPaintEvent * ) {
// Clear the movie screen first
- p.setBrush( QBrush( Qt::black ) );
- p.drawRect( 9, 20, 220, 160 );
+// p.setBrush( QBrush( Qt::black ) );
+// p.drawRect( 9, 20, 220, 160 );
// draw current frame (centrally positioned from scaling to maintain aspect ratio)
@@ -310,4 +310,5 @@ void VideoWidget::paintEvent( QPaintEvent * ) {
// draw the slider
slider->repaint( TRUE );
+// videoFrame->repaint( TRUE );
}
}
@@ -383,2 +384,5 @@ void VideoWidget::keyReleaseEvent( QKeyEvent *e)
};
}
+XineVideoWidget* VideoWidget::vidWidget() {
+ return videoFrame;
+}