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