summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcustomparser.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-06-23 01:18:29 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-06-23 01:18:29 (GMT)
commit186fc75771a579c51b08e96605f18dc65fb62b02 (patch)
tree3daec7b8d0b6fe5185bdb86a8c2fa8ab0d8aa97d /src/declarative/qml/qmlcustomparser.cpp
parentc7fcd4b772092cf0764cfd97463c3aa3d7cc9e9f (diff)
downloadQt-186fc75771a579c51b08e96605f18dc65fb62b02.zip
Qt-186fc75771a579c51b08e96605f18dc65fb62b02.tar.gz
Qt-186fc75771a579c51b08e96605f18dc65fb62b02.tar.bz2
Treat custom properties as literal values
Diffstat (limited to 'src/declarative/qml/qmlcustomparser.cpp')
-rw-r--r--src/declarative/qml/qmlcustomparser.cpp1
1 files changed, 1 insertions, 0 deletions
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);