From 04a38501780b30cbec4bada8e984453e02ce3402 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Mon, 18 May 2009 13:39:08 +0200 Subject: Added "id" to the list of QmlDomObject properties, so we can get to the location information. --- src/declarative/qml/qmldom.cpp | 6 +----- 1 file changed, 1 insertion(+), 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; -- cgit v0.12