path: root/src/gsttools/qgstreamervideowidget.cpp
diff options
authorLars Knoll <>2012-08-06 20:46:55 +0200
committerQt by Nokia <>2012-08-08 15:49:16 +0200
commitaeb8cfe2a2b5ffe68b67793b5c0f3aeb894e6d8a (patch)
treef489c44d47e3084155e7c4cd513d86d0e7f33aee /src/gsttools/qgstreamervideowidget.cpp
parent93bbba0cc3b0a0001441b3568a19d5972d596837 (diff)
Remove the WA_PaintOnScreen widget attribute for vide widgets
This attribute doesn't quite do what it used to do in Qt 4.x anymore, and will lead to Qt not painting the video at all. Change-Id: I2338815756cab82ae152058ff5a7b5f14e07001e Reviewed-by: Samuel Rødal <>
Diffstat (limited to 'src/gsttools/qgstreamervideowidget.cpp')
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gsttools/qgstreamervideowidget.cpp b/src/gsttools/qgstreamervideowidget.cpp
index 0aa29ef1..3665fc84 100644
--- a/src/gsttools/qgstreamervideowidget.cpp
+++ b/src/gsttools/qgstreamervideowidget.cpp
@@ -167,7 +167,6 @@ bool QGstreamerVideoWidgetControl::eventFilter(QObject *object, QEvent *e)
// Setting these values ensures smooth resizing since it
// will prevent the system from clearing the background
m_widget->setAttribute(Qt::WA_NoSystemBackground, true);
- m_widget->setAttribute(Qt::WA_PaintOnScreen, true);
} else if (e->type() == QEvent::Resize) {
// This is a workaround for missing background repaints
// when reducing window size