Skip to content

Commit

Permalink
Correctly place '.' when building name for call expressions.
Browse files Browse the repository at this point in the history
Change-Id: Ic0119a0f4c02387ed19e2905f0b24c4ce86565cb
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
  • Loading branch information
Michael Brasser authored and Qt by Nokia committed Mar 7, 2012
1 parent 7d327be commit 3f3850e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qml/qml/v4/qv4irbuilder.cpp
Expand Up @@ -684,7 +684,7 @@ bool QV4IRBuilder::visit(AST::CallExpression *ast)
//ExprResult base = expression(ast->base);
QString id;
for (int i = 0; i < names.size(); ++i) {
if (! i)
if (i)
id += QLatin1Char('.');
id += names.at(i);
}
Expand Down

0 comments on commit 3f3850e

Please sign in to comment.