diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-06 11:38:02 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-06 14:48:56 +0200 |
commit | 1627b135a7ec37862d7e3764fd545e75ca38bfd7 (patch) | |
tree | c5f1a5383d66c43a0934083d4d5c8c3493bb8957 /tests/auto/qgraphicsview | |
parent | ad52b10726aa72c253e220c06d3c7c76ef76366e (diff) | |
download | qt4-tools-1627b135a7ec37862d7e3764fd545e75ca38bfd7.tar.gz |
tst_QGraphicsView::task245469_itemsAtPointWithClip Windows mobile fix
We must make sure that the graphics view scene is centered to make
this test work. On Windows mobile, the widget was too wide and the
scene wasn't centered.
Reviewed-by: thartman
Diffstat (limited to 'tests/auto/qgraphicsview')
-rw-r--r-- | tests/auto/qgraphicsview/tst_qgraphicsview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qgraphicsview/tst_qgraphicsview.cpp b/tests/auto/qgraphicsview/tst_qgraphicsview.cpp index 5237963b92..2602ed097c 100644 --- a/tests/auto/qgraphicsview/tst_qgraphicsview.cpp +++ b/tests/auto/qgraphicsview/tst_qgraphicsview.cpp @@ -2886,6 +2886,7 @@ void tst_QGraphicsView::task245469_itemsAtPointWithClip() parent->setFlag(QGraphicsItem::ItemClipsChildrenToShape); QGraphicsView view(&scene); + view.resize(150,150); view.rotate(90); view.show(); #ifdef Q_WS_X11 |