summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsitem
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-02-01 18:55:07 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-02-01 18:55:07 (GMT)
commit9258959f4f81b9c3efa4418aa344a5be5f9d12ab (patch)
tree593cfe40f401e37aebdb8982f5bec00d76fd6609 /tests/auto/qgraphicsitem
parent94f5f21ac88de0d940d6ac27d222f1ef8e66d939 (diff)
downloadQt-9258959f4f81b9c3efa4418aa344a5be5f9d12ab.zip
Qt-9258959f4f81b9c3efa4418aa344a5be5f9d12ab.tar.gz
Qt-9258959f4f81b9c3efa4418aa344a5be5f9d12ab.tar.bz2
Fix QTBUG_7714_fullUpdateDiscardingOpacityUpdate2 autotest in qws-linux
The two views were displayed on top of each other, so some repaints were not triggered.
Diffstat (limited to 'tests/auto/qgraphicsitem')
-rw-r--r--tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
index ae038e7..7b54a3b 100644
--- a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
+++ b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
@@ -9978,6 +9978,8 @@ void tst_QGraphicsItem::QTBUG_7714_fullUpdateDiscardingOpacityUpdate2()
origView.show();
QTest::qWaitForWindowShown(&origView);
+ origView.setGeometry(origView.width() + 20, 20,
+ origView.width(), origView.height());
parentGreen->setFlag(QGraphicsItem::ItemIgnoresTransformations);