summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlrewrite_p.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-10-15 08:18:09 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2009-10-15 08:18:09 (GMT)
commit2967e68f9a3bae4f5a2865ac901b08d8b6f0f0f1 (patch)
tree7e15c43425202356ede76efc6a290b85fe36db9d /src/declarative/qml/qmlrewrite_p.h
parent9182a60aabaedf7d0b7278544920c546cb89e461 (diff)
downloadQt-2967e68f9a3bae4f5a2865ac901b08d8b6f0f0f1.zip
Qt-2967e68f9a3bae4f5a2865ac901b08d8b6f0f0f1.tar.gz
Qt-2967e68f9a3bae4f5a2865ac901b08d8b6f0f0f1.tar.bz2
Simplified the bindings rewriter.
The rewriter needs to know if an ExpressionStatement is part of a loop and an integer is definitely enough for that.
Diffstat (limited to 'src/declarative/qml/qmlrewrite_p.h')
-rw-r--r--src/declarative/qml/qmlrewrite_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlrewrite_p.h b/src/declarative/qml/qmlrewrite_p.h
index 449b219..59057d5 100644
--- a/src/declarative/qml/qmlrewrite_p.h
+++ b/src/declarative/qml/qmlrewrite_p.h
@@ -99,7 +99,7 @@ protected:
virtual void endVisit(AST::LocalForEachStatement *ast);
private:
- QList<AST::Statement *> _loopStack;
+ int _inLoop;
};
} // namespace QmlRewrite