summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscriptparser.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-11 12:36:43 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-11 12:36:43 (GMT)
commitda91e9315fb553cb22431a29318f4b006ffb1a42 (patch)
tree95cfbc1dff45f4d8394c67c0313387871a799b15 /src/declarative/qml/qmlscriptparser.cpp
parentab8d845ac9f1397706f517fcc24ed4e1978ef259 (diff)
downloadQt-da91e9315fb553cb22431a29318f4b006ffb1a42.zip
Qt-da91e9315fb553cb22431a29318f4b006ffb1a42.tar.gz
Qt-da91e9315fb553cb22431a29318f4b006ffb1a42.tar.bz2
Remove outdated comment
Diffstat (limited to 'src/declarative/qml/qmlscriptparser.cpp')
-rw-r--r--src/declarative/qml/qmlscriptparser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlscriptparser.cpp b/src/declarative/qml/qmlscriptparser.cpp
index 0cd52d9..082d0a5 100644
--- a/src/declarative/qml/qmlscriptparser.cpp
+++ b/src/declarative/qml/qmlscriptparser.cpp
@@ -480,8 +480,6 @@ bool ProcessAST::visit(AST::UiObjectBinding *node)
QmlParser::Variant ProcessAST::getVariant(AST::ExpressionNode *expr)
{
if (AST::StringLiteral *lit = AST::cast<AST::StringLiteral *>(expr)) {
- // hack: emulate weird XML feature that string literals are not quoted.
- //This needs to be fixed in the qmlcompiler once xml goes away.
return QmlParser::Variant(lit->value->asString());
} else if (expr->kind == AST::Node::Kind_TrueLiteral) {
return QmlParser::Variant(true);