summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2011-02-07 01:23:49 (GMT)
committerBea Lam <bea.lam@nokia.com>2011-02-07 01:24:37 (GMT)
commit27339962c023820ef9cd76843e256c7f3d624116 (patch)
treed91e210922226204ce4981b0cda5a3c9efc7e6cf /tests/auto
parent24d8e96624af91ab01a20c10625858300f16099b (diff)
downloadQt-27339962c023820ef9cd76843e256c7f3d624116.zip
Qt-27339962c023820ef9cd76843e256c7f3d624116.tar.gz
Qt-27339962c023820ef9cd76843e256c7f3d624116.tar.bz2
Make test compile
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/declarative/qdeclarativerepeater/tst_qdeclarativerepeater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativerepeater/tst_qdeclarativerepeater.cpp b/tests/auto/declarative/qdeclarativerepeater/tst_qdeclarativerepeater.cpp
index 820a282..ba52987 100644
--- a/tests/auto/declarative/qdeclarativerepeater/tst_qdeclarativerepeater.cpp
+++ b/tests/auto/declarative/qdeclarativerepeater/tst_qdeclarativerepeater.cpp
@@ -593,12 +593,12 @@ void tst_QDeclarativeRepeater::modelChanged()
repeater->setModel(4);
QCOMPARE(repeater->count(), 4);
- QCOMPARE(repeater->property("itemsCount"), 4);
+ QCOMPARE(repeater->property("itemsCount").toInt(), 4);
QCOMPARE(repeater->property("itemsFound").toList().count(), 4);
repeater->setModel(10);
QCOMPARE(repeater->count(), 10);
- QCOMPARE(repeater->property("itemsCount"), 10);
+ QCOMPARE(repeater->property("itemsCount").toInt(), 10);
QCOMPARE(repeater->property("itemsFound").toList().count(), 10);
delete rootObject;