summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecontext_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-12 05:30:17 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-12 05:30:17 (GMT)
commite16cc0cf7e50a63674a7e36169d0844af6ddb2ce (patch)
tree04a3f8466c2985a7be19913be1d1547f6e117432 /src/declarative/qml/qdeclarativecontext_p.h
parent58fcfaecd1ce82ef19feb25eca8b3bf2f3f3d4c1 (diff)
downloadQt-e16cc0cf7e50a63674a7e36169d0844af6ddb2ce.zip
Qt-e16cc0cf7e50a63674a7e36169d0844af6ddb2ce.tar.gz
Qt-e16cc0cf7e50a63674a7e36169d0844af6ddb2ce.tar.bz2
Optimization: Use linked list for context children
Diffstat (limited to 'src/declarative/qml/qdeclarativecontext_p.h')
-rw-r--r--src/declarative/qml/qdeclarativecontext_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecontext_p.h b/src/declarative/qml/qdeclarativecontext_p.h
index 682adb5..a1056b1 100644
--- a/src/declarative/qml/qdeclarativecontext_p.h
+++ b/src/declarative/qml/qdeclarativecontext_p.h
@@ -107,7 +107,11 @@ public:
void invalidateEngines();
void refreshExpressions();
- QSet<QDeclarativeContext *> childContexts;
+
+ QDeclarativeContext *childContexts;
+
+ QDeclarativeContext *nextChild;
+ QDeclarativeContext **prevChild;
QDeclarativeAbstractExpression *expressions;