diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-29 04:57:29 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-29 04:57:29 (GMT) |
commit | d1f01956769f4f3ded29095afec5cbf52eb8f1c8 (patch) | |
tree | aad0f023dd6e38541cf0f074f9e92483eaddaa98 /src/declarative | |
parent | d6817c59b664b1ce08e45bed902f17b58160a30f (diff) | |
download | Qt-d1f01956769f4f3ded29095afec5cbf52eb8f1c8.zip Qt-d1f01956769f4f3ded29095afec5cbf52eb8f1c8.tar.gz Qt-d1f01956769f4f3ded29095afec5cbf52eb8f1c8.tar.bz2 |
Remove "variant" QML properties
"property var a" works just as well
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/qml/qdeclarativescriptparser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativescriptparser.cpp b/src/declarative/qml/qdeclarativescriptparser.cpp index ed35fed..9fff294 100644 --- a/src/declarative/qml/qdeclarativescriptparser.cpp +++ b/src/declarative/qml/qdeclarativescriptparser.cpp @@ -535,8 +535,7 @@ bool ProcessAST::visit(AST::UiPublicMember *node) // { "time", Object::DynamicProperty::Time, "QTime" }, // { "date", Object::DynamicProperty::Date, "QDate" }, { "date", Object::DynamicProperty::DateTime, "QDateTime" }, - { "var", Object::DynamicProperty::Variant, "QVariant" }, - { "variant", Object::DynamicProperty::Variant, "QVariant" } + { "var", Object::DynamicProperty::Variant, "QVariant" } }; const int propTypeNameToTypesCount = sizeof(propTypeNameToTypes) / sizeof(propTypeNameToTypes[0]); |