summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-05-18 12:18:29 (GMT)
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-05-18 12:18:29 (GMT)
commit99548c8bb2e3523dfbf21be8591a29867503e136 (patch)
tree24c15e9dc173294be4e528dfaa14bd555ba304be /src/declarative/qml
parent04a38501780b30cbec4bada8e984453e02ce3402 (diff)
downloadQt-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/declarative/qml')
-rw-r--r--src/declarative/qml/qmldom.cpp3
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;