diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-03-23 12:02:23 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-03-23 12:02:23 (GMT) |
commit | 711d3614ed64b2e962e07f7070d9834f85231ab5 (patch) | |
tree | b44f674eddf87ef29376c49d16be46f364079e70 /tests/auto/declarative/qdeclarativebinding | |
parent | 56939d84ed5303dbc1b3926d1d5ae50d6512961e (diff) | |
download | Qt-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.cpp | 2 |
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")); |