summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwidget
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-06-28 14:30:13 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-06-28 14:30:13 (GMT)
commit547c4f657991b47f8840b08c25d86d4abc180313 (patch)
treee339dc19a662db6ee87a14f9a53a942b36dba696 /tests/auto/qwidget
parentec896e15bdc2b8c71a8e200faae3b4ecf429964a (diff)
parenta9177328bcac8960ebb19be7b709faaa216ee9d3 (diff)
downloadQt-547c4f657991b47f8840b08c25d86d4abc180313.zip
Qt-547c4f657991b47f8840b08c25d86d4abc180313.tar.gz
Qt-547c4f657991b47f8840b08c25d86d4abc180313.tar.bz2
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 dd9a3e0..1430146 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;