diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-11 12:36:43 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-11 12:36:43 (GMT) |
commit | da91e9315fb553cb22431a29318f4b006ffb1a42 (patch) | |
tree | 95cfbc1dff45f4d8394c67c0313387871a799b15 /src/declarative/qml/qmlscriptparser.cpp | |
parent | ab8d845ac9f1397706f517fcc24ed4e1978ef259 (diff) | |
download | Qt-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.cpp | 2 |
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); |