diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-12-17 08:21:47 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-12-17 08:21:47 (GMT) |
commit | efa04f4357ef23a63dbb6e0cd3f8cdb1880e7886 (patch) | |
tree | 8962bfd11e73214cfc9aa7b1821ddab237e0b2c9 /src/declarative/graphicsitems/qmlgraphicspositioners.cpp | |
parent | b6849d90388ffd415d398923ce8f8d5d8d549bd6 (diff) | |
download | Qt-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.cpp | 2 |
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) { |