From 186fc75771a579c51b08e96605f18dc65fb62b02 Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Tue, 23 Jun 2009 11:18:29 +1000 Subject: Treat custom properties as literal values --- src/declarative/qml/qmlcustomparser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/declarative/qml/qmlcustomparser.cpp b/src/declarative/qml/qmlcustomparser.cpp index 2e8c8f6..c90ab47 100644 --- a/src/declarative/qml/qmlcustomparser.cpp +++ b/src/declarative/qml/qmlcustomparser.cpp @@ -136,6 +136,7 @@ QmlCustomParserNodePrivate::fromProperty(QmlParser::Property *p) } else { for(int ii = 0; ii < p->values.count(); ++ii) { Value *v = p->values.at(ii); + v->type = QmlParser::Value::Literal; if(v->object) { QmlCustomParserNode node = fromObject(v->object); -- cgit v0.12