From efa04f4357ef23a63dbb6e0cd3f8cdb1880e7886 Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Thu, 17 Dec 2009 18:21:47 +1000 Subject: Small optimization. --- src/declarative/graphicsitems/qmlgraphicspositioners.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 children = childItems(); + QList children = d->QGraphicsItemPrivate::children; qSort(children.begin(), children.end(), d->insertionOrder); for (int ii = 0; ii < children.count(); ++ii) { -- cgit v0.12