summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-05-18 11:39:08 (GMT)
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-05-18 11:39:08 (GMT)
commit04a38501780b30cbec4bada8e984453e02ce3402 (patch)
tree5b677bf926938d8ebec9343256151f8ccb354b2e /src
parent0add74a9339a9d7dda302aa4f31cbb50bdb69908 (diff)
downloadQt-04a38501780b30cbec4bada8e984453e02ce3402.zip
Qt-04a38501780b30cbec4bada8e984453e02ce3402.tar.gz
Qt-04a38501780b30cbec4bada8e984453e02ce3402.tar.bz2
Added "id" to the list of QmlDomObject properties, so we can get to the
location information.
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qmldom.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp
index 673520e..aeb8e7c 100644
--- a/src/declarative/qml/qmldom.cpp
+++ b/src/declarative/qml/qmldom.cpp
@@ -477,12 +477,8 @@ QmlDomObjectPrivate::properties(QmlParser::Property *property) const
iter->second.prepend(name);
} else {
-
- // We don't display "id" sets as a property in the dom
- if (property->values.count() != 1 ||
- property->values.at(0)->type != QmlParser::Value::Id)
+ if (property->values.count() != 1)
rv << qMakePair(property, property->name);
-
}
return rv;