diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2011-05-24 11:38:25 (GMT) |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2011-05-24 11:38:25 (GMT) |
commit | 1a8d59ba46dda3f0951f399f75528961127243b2 (patch) | |
tree | 1e3b1c4fd9cf2cf7bcd91d11ba171ea65ac43a38 /tests | |
parent | 18464b467865cb148b219b9bbe72da9fff45b99f (diff) | |
download | Qt-1a8d59ba46dda3f0951f399f75528961127243b2.zip Qt-1a8d59ba46dda3f0951f399f75528961127243b2.tar.gz Qt-1a8d59ba46dda3f0951f399f75528961127243b2.tar.bz2 |
QDeclarativeDebug: Fix autotest on Windows/MSVC
Diffstat (limited to 'tests')
-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 8871e45..9c20bd6 100644 --- a/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp +++ b/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp @@ -224,7 +224,7 @@ void tst_QDeclarativeDebug::recursiveObjectTest(QObject *o, const QDeclarativeDe QCOMPARE(p.name(), QString::fromUtf8(pmeta.name())); - if (pmeta.type() < QVariant::UserType) // TODO test complex types + if (pmeta.type() > 0 && pmeta.type() < QVariant::UserType) // TODO test complex types QCOMPARE(p.value(), pmeta.read(o)); if (p.name() == "parent") |