summaryrefslogtreecommitdiff
path: root/tests/auto/declarative/qdeclarativedebug
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-03-23 13:02:23 +0100
committerAlan Alpert <alan.alpert@nokia.com>2010-03-23 13:02:23 +0100
commit711d3614ed64b2e962e07f7070d9834f85231ab5 (patch)
treeb44f674eddf87ef29376c49d16be46f364079e70 /tests/auto/declarative/qdeclarativedebug
parent56939d84ed5303dbc1b3926d1d5ae50d6512961e (diff)
downloadqt4-tools-711d3614ed64b2e962e07f7070d9834f85231ab5.tar.gz
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 0c3ca765bd..d0eb90e70b 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");