summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsitem
diff options
context:
space:
mode:
authorRalf Engels <ralf.engels@nokia.com>2010-08-03 12:31:11 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-11-02 14:30:24 (GMT)
commit8c696e362851c8d98e5895c8f7302f02a1ba685a (patch)
tree153ee6e4651352072437a037b13deba95dfe1cec /tests/auto/qgraphicsitem
parenteac4fdc9becea59573a945dff0294e7c3d17ea5b (diff)
downloadQt-8c696e362851c8d98e5895c8f7302f02a1ba685a.zip
Qt-8c696e362851c8d98e5895c8f7302f02a1ba685a.tar.gz
Qt-8c696e362851c8d98e5895c8f7302f02a1ba685a.tar.bz2
Fix QGraphicsItems autotest
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 bfa634f..0b29410 100644
--- a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
+++ b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
@@ -7511,6 +7511,7 @@ void tst_QGraphicsItem::update()
QWidget topLevel;
MyGraphicsView view(&scene,&topLevel);
+ topLevel.resize(300, 300);
topLevel.show();
#ifdef Q_WS_X11
qt_x11_wait_for_window_manager(&view);
@@ -8135,6 +8136,7 @@ void tst_QGraphicsItem::hitTestGraphicsEffectItem()
QWidget toplevel;
QGraphicsView view(&scene, &toplevel);
+ toplevel.resize(300, 300);
toplevel.show();
#ifdef Q_WS_X11
qt_x11_wait_for_window_manager(&toplevel);