summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsitem
diff options
context:
space:
mode:
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);