summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicspositioners.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-12-17 08:21:47 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-12-17 08:21:47 (GMT)
commitefa04f4357ef23a63dbb6e0cd3f8cdb1880e7886 (patch)
tree8962bfd11e73214cfc9aa7b1821ddab237e0b2c9 /src/declarative/graphicsitems/qmlgraphicspositioners.cpp
parentb6849d90388ffd415d398923ce8f8d5d8d549bd6 (diff)
downloadQt-efa04f4357ef23a63dbb6e0cd3f8cdb1880e7886.zip
Qt-efa04f4357ef23a63dbb6e0cd3f8cdb1880e7886.tar.gz
Qt-efa04f4357ef23a63dbb6e0cd3f8cdb1880e7886.tar.bz2
Small optimization.
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicspositioners.cpp')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicspositioners.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicspositioners.cpp b/src/declarative/graphicsitems/qmlgraphicspositioners.cpp
index aa724a3..f2164ab 100644
--- a/src/declarative/graphicsitems/qmlgraphicspositioners.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicspositioners.cpp
@@ -196,7 +196,7 @@ void QmlGraphicsBasePositioner::prePositioning()
d->queuedPositioning = false;
//Need to order children by creation order modified by stacking order
- QList<QGraphicsItem *> children = childItems();
+ QList<QGraphicsItem *> children = d->QGraphicsItemPrivate::children;
qSort(children.begin(), children.end(), d->insertionOrder);
for (int ii = 0; ii < children.count(); ++ii) {