diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-01-11 06:35:40 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-01-11 06:35:40 (GMT) |
commit | d99eac039984eb09e7fa0a91a07073a6c3769a0d (patch) | |
tree | 02c3e1bd49e9efe308051ca35fc6138bda19f6ea /src/declarative/qml/qmlenginedebug.cpp | |
parent | 26021de11bf8cfd3f2067466b8be97d42316b8b4 (diff) | |
download | Qt-d99eac039984eb09e7fa0a91a07073a6c3769a0d.zip Qt-d99eac039984eb09e7fa0a91a07073a6c3769a0d.tar.gz Qt-d99eac039984eb09e7fa0a91a07073a6c3769a0d.tar.bz2 |
unwarn
Diffstat (limited to 'src/declarative/qml/qmlenginedebug.cpp')
-rw-r--r-- | src/declarative/qml/qmlenginedebug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlenginedebug.cpp b/src/declarative/qml/qmlenginedebug.cpp index 46490fb..2abd6e6 100644 --- a/src/declarative/qml/qmlenginedebug.cpp +++ b/src/declarative/qml/qmlenginedebug.cpp @@ -115,7 +115,7 @@ QmlEngineDebugServer::propertyData(QObject *obj, int propIdx) QVariant value = prop.read(obj); rv.value = valueContents(value); - if (prop.userType() < QVariant::UserType) { + if (QVariant::Type(prop.userType()) < QVariant::UserType) { rv.type = QmlObjectProperty::Basic; } else if (QmlMetaType::isObject(prop.userType())) { rv.type = QmlObjectProperty::Object; @@ -130,7 +130,7 @@ QmlEngineDebugServer::propertyData(QObject *obj, int propIdx) QVariant QmlEngineDebugServer::valueContents(const QVariant &value) const { int userType = value.userType(); - if (userType < QVariant::UserType) + if (QVariant::Type(userType) < QVariant::UserType) return value; |