summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/qdeclarativejs.g
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-03-29 15:14:37 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2010-03-29 15:14:37 (GMT)
commit5a6747ad0418862cafde45837c02a87bfb6b3db3 (patch)
treee5187694c725e7fb4f9ce8f56510eb4e30c8179b /src/declarative/qml/parser/qdeclarativejs.g
parenta4d208f1831ecba1d51d3afe9a9e9e21faf8b3cf (diff)
downloadQt-5a6747ad0418862cafde45837c02a87bfb6b3db3.zip
Qt-5a6747ad0418862cafde45837c02a87bfb6b3db3.tar.gz
Qt-5a6747ad0418862cafde45837c02a87bfb6b3db3.tar.bz2
Removed unneeded code.
Diffstat (limited to 'src/declarative/qml/parser/qdeclarativejs.g')
-rw-r--r--src/declarative/qml/parser/qdeclarativejs.g5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/declarative/qml/parser/qdeclarativejs.g b/src/declarative/qml/parser/qdeclarativejs.g
index c7524a4..6434d10 100644
--- a/src/declarative/qml/parser/qdeclarativejs.g
+++ b/src/declarative/qml/parser/qdeclarativejs.g
@@ -654,11 +654,6 @@ case $rule_number: {
node = makeAstNode<AST::UiImport>(driver->nodePool(), importIdLiteral->value);
node->fileNameToken = loc(2);
} else if (AST::UiQualifiedId *qualifiedId = reparseAsQualifiedId(sym(2).Expression)) {
- QString text;
- for (AST::UiQualifiedId *q = qualifiedId; q; q = q->next) {
- text += q->name->asString();
- if (q->next) text += QLatin1String(".");
- }
node = makeAstNode<AST::UiImport>(driver->nodePool(), qualifiedId);
node->fileNameToken = loc(2);
}