summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-08-06 20:46:55 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-08 15:49:16 +0200
commitaeb8cfe2a2b5ffe68b67793b5c0f3aeb894e6d8a (patch)
treef489c44d47e3084155e7c4cd513d86d0e7f33aee /examples
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 <samuel.rodal@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/videowidget/videowidget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/videowidget/videowidget.cpp b/examples/videowidget/videowidget.cpp
index d569ff976..42425281e 100644
--- a/examples/videowidget/videowidget.cpp
+++ b/examples/videowidget/videowidget.cpp
@@ -52,7 +52,6 @@ VideoWidget::VideoWidget(QWidget *parent)
{
setAutoFillBackground(false);
setAttribute(Qt::WA_NoSystemBackground, true);
- setAttribute(Qt::WA_PaintOnScreen, true);
QPalette palette = this->palette();
palette.setColor(QPalette::Background, Qt::black);