[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Phonon-VLC] ed22855: Initialize the customrender bool to false and
From: Harald Sitter <sitter.harald () gmail ! com>
Date: 2010-10-12 13:03:04
Message-ID: 201010121303.o9CD34CW031751 () kore ! kollide ! net
[Download RAW message or body]
commit ed228559b7da8dfcabdf2416f80a956171d7c9f9
Author: Harald Sitter <sitter.harald@gmail.com>
Date: Tue Oct 12 15:02:10 2010 +0200
Initialize the customrender bool to false and ensure PaintEvents get
forwarded to widgetnopaintevent. This makes Sho a happy user again, I am
certain.
diff --git a/vlc/vlcvideowidget.cpp b/vlc/vlcvideowidget.cpp
index cf8f9bf..0c0b7af 100644
--- a/vlc/vlcvideowidget.cpp
+++ b/vlc/vlcvideowidget.cpp
@@ -36,7 +36,8 @@ namespace VLC
VLCVideoWidget::VLCVideoWidget(QWidget *parent, VideoWidget *videoWidget) :
WidgetNoPaintEvent(parent),
- m_videoWidget(videoWidget)
+ m_videoWidget(videoWidget),
+ m_customRender(false)
{
// Set background color
setBackgroundColor(Qt::black);
@@ -106,7 +107,7 @@ void VLCVideoWidget::paintEvent(QPaintEvent *event)
// TODO: more sensible rect calculation.
painter.drawImage(rect(), m_frame);
} else {
- QWidget::paintEvent(event);
+ WidgetNoPaintEvent::paintEvent(event);
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic