diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-06 09:38:02 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-06 12:48:56 (GMT) |
commit | 1627b135a7ec37862d7e3764fd545e75ca38bfd7 (patch) | |
tree | c5f1a5383d66c43a0934083d4d5c8c3493bb8957 /tests/auto | |
parent | ad52b10726aa72c253e220c06d3c7c76ef76366e (diff) | |
download | Qt-1627b135a7ec37862d7e3764fd545e75ca38bfd7.zip Qt-1627b135a7ec37862d7e3764fd545e75ca38bfd7.tar.gz Qt-1627b135a7ec37862d7e3764fd545e75ca38bfd7.tar.bz2 |
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')
-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 5237963..2602ed0 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 |