summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativedebug
diff options
context:
space:
mode:
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 eb8e8d87..804c7b5a 100644
--- a/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp
+++ b/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp
@@ -221,7 +221,7 @@ void tst_QDeclarativeDebug::recursiveObjectTest(QObject *o, const QDeclarativeDe
QCOMPARE(p.name(), QString::fromUtf8(pmeta.name()));
- if (pmeta.type() > 0 && pmeta.type() < QVariant::UserType) // TODO test complex types
+ if (pmeta.type() > 0 && pmeta.type() < QVariant::UserType && pmeta.userType() != QMetaType::QVariant) // TODO test complex types
QCOMPARE(p.value(), pmeta.read(o));
if (p.name() == "parent")