summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativedebug
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/qdeclarativedebug
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/qdeclarativedebug')
-rw-r--r--tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp b/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp
index 0c3ca76..d0eb90e 100644
--- a/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp
+++ b/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp
@@ -153,7 +153,7 @@ QDeclarativeDebugPropertyReference tst_QDeclarativeDebug::findProperty(const QLi
void tst_QDeclarativeDebug::waitForQuery(QDeclarativeDebugQuery *query)
{
QVERIFY(query);
- QCOMPARE(query->parent(), this);
+ QCOMPARE(query->parent(), qobject_cast<QObject*>(this));
QVERIFY(query->state() == QDeclarativeDebugQuery::Waiting);
if (!QDeclarativeDebugTest::waitForSignal(query, SIGNAL(stateChanged(QDeclarativeDebugQuery::State))))
QFAIL("query timed out");