diff options
author | Bea Lam <bea.lam@nokia.com> | 2011-02-07 01:23:49 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2011-02-07 01:24:37 (GMT) |
commit | 27339962c023820ef9cd76843e256c7f3d624116 (patch) | |
tree | d91e210922226204ce4981b0cda5a3c9efc7e6cf /tests/auto | |
parent | 24d8e96624af91ab01a20c10625858300f16099b (diff) | |
download | Qt-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.cpp | 4 |
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; |