diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-05-18 12:18:29 (GMT) |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-05-18 12:18:29 (GMT) |
commit | 99548c8bb2e3523dfbf21be8591a29867503e136 (patch) | |
tree | 24c15e9dc173294be4e528dfaa14bd555ba304be /src | |
parent | 04a38501780b30cbec4bada8e984453e02ce3402 (diff) | |
download | Qt-99548c8bb2e3523dfbf21be8591a29867503e136.zip Qt-99548c8bb2e3523dfbf21be8591a29867503e136.tar.gz Qt-99548c8bb2e3523dfbf21be8591a29867503e136.tar.bz2 |
Fixed the addition of "id" to the list of QmlDomObject properties.
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/qml/qmldom.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp index aeb8e7c..9871fcb 100644 --- a/src/declarative/qml/qmldom.cpp +++ b/src/declarative/qml/qmldom.cpp @@ -477,8 +477,7 @@ QmlDomObjectPrivate::properties(QmlParser::Property *property) const iter->second.prepend(name); } else { - if (property->values.count() != 1) - rv << qMakePair(property, property->name); + rv << qMakePair(property, property->name); } return rv; |