summaryrefslogtreecommitdiff
path: root/tests/auto/qwidget
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-06-28 16:30:13 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2009-06-28 16:30:13 +0200
commit547c4f657991b47f8840b08c25d86d4abc180313 (patch)
treee339dc19a662db6ee87a14f9a53a942b36dba696 /tests/auto/qwidget
parentec896e15bdc2b8c71a8e200faae3b4ecf429964a (diff)
parenta9177328bcac8960ebb19be7b709faaa216ee9d3 (diff)
downloadqt4-tools-547c4f657991b47f8840b08c25d86d4abc180313.tar.gz
Merge branch '4.5'
Diffstat (limited to 'tests/auto/qwidget')
-rw-r--r--tests/auto/qwidget/tst_qwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp
index dd9a3e052d..1430146ec1 100644
--- a/tests/auto/qwidget/tst_qwidget.cpp
+++ b/tests/auto/qwidget/tst_qwidget.cpp
@@ -3979,6 +3979,7 @@ public:
:QWidget(parent)
{
setAttribute(Qt::WA_StaticContents);
+ setAttribute(Qt::WA_OpaquePaintEvent);
setPalette(Qt::red); // Make sure we have an opaque palette.
setAutoFillBackground(true);
gotPaintEvent = false;