diff options
Diffstat (limited to 'src/declarative/qml/qdeclarativeproperty.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativeproperty.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/declarative/qml/qdeclarativeproperty.cpp b/src/declarative/qml/qdeclarativeproperty.cpp index 05bec635..ca528a38 100644 --- a/src/declarative/qml/qdeclarativeproperty.cpp +++ b/src/declarative/qml/qdeclarativeproperty.cpp @@ -444,10 +444,7 @@ int QDeclarativePropertyPrivate::propertyType() const if (isValueType()) { return valueType.valueTypePropType; } else if (type & QDeclarativeProperty::Property) { - if (core.propType == (int)QVariant::LastType) - return qMetaTypeId<QVariant>(); - else - return core.propType; + return core.propType; } else { return QVariant::Invalid; } |