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/qdeclarativedebug | |
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/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 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"); |