summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicssceneindex
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-06-02 17:45:27 +0200
committerAlexis Menard <alexis.menard@nokia.com>2009-06-02 17:45:27 +0200
commit427c4d6b0a8b3004c86facd382de33c171c0458b (patch)
tree72bccf6460acc4dfa3b3a7a774c302785ba16062 /tests/auto/qgraphicssceneindex
parent0e139242e5dd465c9ffa0e2cbeb17b7009b821d1 (diff)
Fix all auto-tests regressions.
Diffstat (limited to 'tests/auto/qgraphicssceneindex')
-rw-r--r--tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp b/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp
index 3dca152354..6b352ab10e 100644
--- a/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp
+++ b/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp
@@ -107,8 +107,8 @@ void tst_QGraphicsSceneIndex::sceneRect()
{
QGraphicsScene *scene = new QGraphicsScene();
QGraphicsSceneIndex *index = new QGraphicsSceneBspTreeIndex(scene);
- index->setRect(QRectF(0, 0, 2000, 2000));
- QCOMPARE(index->rect(), QRectF(0, 0, 2000, 2000));
+ scene->setSceneRect(QRectF(0, 0, 2000, 2000));
+ QCOMPARE(index->indexedRect(), QRectF(0, 0, 2000, 2000));
}
void tst_QGraphicsSceneIndex::customIndex_data()