summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativebinding
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-03-23 12:02:23 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-03-23 12:02:23 (GMT)
commit711d3614ed64b2e962e07f7070d9834f85231ab5 (patch)
treeb44f674eddf87ef29376c49d16be46f364079e70 /tests/auto/declarative/qdeclarativebinding
parent56939d84ed5303dbc1b3926d1d5ae50d6512961e (diff)
downloadQt-711d3614ed64b2e962e07f7070d9834f85231ab5.zip
Qt-711d3614ed64b2e962e07f7070d9834f85231ab5.tar.gz
Qt-711d3614ed64b2e962e07f7070d9834f85231ab5.tar.bz2
Make more tests compile on solaris-cc
Diffstat (limited to 'tests/auto/declarative/qdeclarativebinding')
-rw-r--r--tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp b/tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp
index 826df4f..483d588 100644
--- a/tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp
+++ b/tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp
@@ -79,7 +79,7 @@ void tst_qdeclarativebinding::binding()
QDeclarativeBind *binding = qobject_cast<QDeclarativeBind*>(rect->findChild<QDeclarativeBind*>("binding1"));
QVERIFY(binding != 0);
- QCOMPARE(binding->object(), rect);
+ QCOMPARE(binding->object(), qobject_cast<QObject*>(rect));
QCOMPARE(binding->property(), QLatin1String("text"));
QCOMPARE(binding->value().toString(), QLatin1String("Hello"));