summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcomponent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlcomponent.cpp')
-rw-r--r--src/declarative/qml/qmlcomponent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcomponent.cpp b/src/declarative/qml/qmlcomponent.cpp
index 5f8b816..85da2c1 100644
--- a/src/declarative/qml/qmlcomponent.cpp
+++ b/src/declarative/qml/qmlcomponent.cpp
@@ -705,7 +705,7 @@ void QmlComponentPrivate::completeCreate()
QmlEnginePrivate::SimpleList<QmlParserStatus> ps =
parserStatus.at(ii);
- for (int jj = 0; jj < ps.count; ++jj) {
+ for (int jj = ps.count - 1; jj >= 0; --jj) {
QmlParserStatus *status = ps.at(jj);
if (status && status->d) {
status->d = 0;