diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-06-04 14:46:36 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-06-04 14:46:36 (GMT) |
commit | cea8678e5fca8b33bbd5da057282888bc260a5c9 (patch) | |
tree | ba2e25ecf4aa00489ff9af2579617660f6828490 /tests/auto/qgraphicsview | |
parent | e71c58d0d8c92e3b8d035b6e76aaca765004540b (diff) | |
download | Qt-cea8678e5fca8b33bbd5da057282888bc260a5c9.zip Qt-cea8678e5fca8b33bbd5da057282888bc260a5c9.tar.gz Qt-cea8678e5fca8b33bbd5da057282888bc260a5c9.tar.bz2 |
Fix doc and auto-test regression.
Diffstat (limited to 'tests/auto/qgraphicsview')
-rw-r--r-- | tests/auto/qgraphicsview/tst_qgraphicsview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsview/tst_qgraphicsview.cpp b/tests/auto/qgraphicsview/tst_qgraphicsview.cpp index 447de34..696a42d 100644 --- a/tests/auto/qgraphicsview/tst_qgraphicsview.cpp +++ b/tests/auto/qgraphicsview/tst_qgraphicsview.cpp @@ -2925,7 +2925,7 @@ void tst_QGraphicsView::task245469_itemsAtPointWithClip() QTest::qWait(100); QList<QGraphicsItem *> itemsAtCenter = view.items(view.viewport()->rect().center()); - QCOMPARE(itemsAtCenter, (QList<QGraphicsItem *>() << parent << child)); + QCOMPARE(itemsAtCenter, (QList<QGraphicsItem *>() << child << parent)); QPolygonF p = view.mapToScene(QRect(view.viewport()->rect().center(), QSize(1, 1))); QList<QGraphicsItem *> itemsAtCenter2 = scene.items(p); |