projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d327be
)
Correctly place '.' when building name for call expressions.
author
Michael Brasser
<michael.brasser@nokia.com>
Wed, 7 Mar 2012 03:50:41 +0000
(13:50 +1000)
committer
Qt by Nokia
<qt-info@nokia.com>
Wed, 7 Mar 2012 08:47:00 +0000
(09:47 +0100)
Change-Id: Ic0119a0f4c02387ed19e2905f0b24c4ce86565cb
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
src/qml/qml/v4/qv4irbuilder.cpp
patch
|
blob
|
history
diff --git
a/src/qml/qml/v4/qv4irbuilder.cpp
b/src/qml/qml/v4/qv4irbuilder.cpp
index
0efb268
..
32581a0
100644
(file)
--- a/
src/qml/qml/v4/qv4irbuilder.cpp
+++ b/
src/qml/qml/v4/qv4irbuilder.cpp
@@
-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);
}