aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@digia.com>2012-11-02 14:59:56 +0100
committerJerome Pasion <jerome.pasion@digia.com>2012-11-02 15:02:08 +0100
commit47c45bb1e487b3823281683c1110d9269f144582 (patch)
tree4c687d46d9aa7d90f064a25e6c7f0241ae28e16d /tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp
parent677be9a27770ff48dd771ec4fc1c66139aac4aa8 (diff)
parent7d94fa8e074ba816751c60bd0ad3c63b3c0b0a27 (diff)
Merge branch 'master' of ssh://codereview.qt-project.org/qt/qtdeclarative into newdocs
Diffstat (limited to 'tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp')
-rw-r--r--tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp b/tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp
index cb161c0eeb..b9a18eec01 100644
--- a/tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp
+++ b/tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp
@@ -1481,13 +1481,13 @@ void tst_qquickpositioners::test_repeater()
{
QQuickView *window = createView(testFile("repeatertest.qml"));
- QQuickRectangle *one = findItem<QQuickRectangle>(window->rootItem(), "one");
+ QQuickRectangle *one = findItem<QQuickRectangle>(window->contentItem(), "one");
QVERIFY(one != 0);
- QQuickRectangle *two = findItem<QQuickRectangle>(window->rootItem(), "two");
+ QQuickRectangle *two = findItem<QQuickRectangle>(window->contentItem(), "two");
QVERIFY(two != 0);
- QQuickRectangle *three = findItem<QQuickRectangle>(window->rootItem(), "three");
+ QQuickRectangle *three = findItem<QQuickRectangle>(window->contentItem(), "three");
QVERIFY(three != 0);
QCOMPARE(one->x(), 0.0);