summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlpropertycache.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-10-26 05:47:12 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-10-26 05:48:03 (GMT)
commitee0c9c7003dc020113886070b5c04dc0a7529bf4 (patch)
tree4bcb10b46991161a59a784db65c13b9dfe34ce0a /src/declarative/qml/qmlpropertycache.cpp
parent7eddab2dc75c79b05d86e2e4b48ac9f4cf102406 (diff)
downloadQt-ee0c9c7003dc020113886070b5c04dc0a7529bf4.zip
Qt-ee0c9c7003dc020113886070b5c04dc0a7529bf4.tar.gz
Qt-ee0c9c7003dc020113886070b5c04dc0a7529bf4.tar.bz2
Fix more warnings.
Diffstat (limited to 'src/declarative/qml/qmlpropertycache.cpp')
-rw-r--r--src/declarative/qml/qmlpropertycache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlpropertycache.cpp b/src/declarative/qml/qmlpropertycache.cpp
index 3ede341..4c24cdd 100644
--- a/src/declarative/qml/qmlpropertycache.cpp
+++ b/src/declarative/qml/qmlpropertycache.cpp
@@ -48,7 +48,7 @@ QT_BEGIN_NAMESPACE
void QmlPropertyCache::Data::load(const QMetaProperty &p)
{
propType = p.userType();
- if (propType == QVariant::LastType)
+ if (QVariant::Type(propType) == QVariant::LastType)
propType = qMetaTypeId<QVariant>();
coreIndex = p.propertyIndex();
notifyIndex = p.notifySignalIndex();