summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {