From 8c696e362851c8d98e5895c8f7302f02a1ba685a Mon Sep 17 00:00:00 2001 From: Ralf Engels Date: Tue, 3 Aug 2010 14:31:11 +0200 Subject: Fix QGraphicsItems autotest --- tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v0.12