diff options
author | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-23 12:35:30 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-23 14:58:46 (GMT) |
commit | d39a62720ba67a0fa6e4e37519d22f14c7b7404e (patch) | |
tree | 5e42ae0b99374bc2bb019a5b8c4598c0caea9e46 /src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp | |
parent | ac3b7548b5f08529c532c7a22b679921a09d4c50 (diff) | |
download | Qt-d39a62720ba67a0fa6e4e37519d22f14c7b7404e.zip Qt-d39a62720ba67a0fa6e4e37519d22f14c7b7404e.tar.gz Qt-d39a62720ba67a0fa6e4e37519d22f14c7b7404e.tar.bz2 |
Ensure that the BSP index returns all untransformable items.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp b/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp index aeee982..464fe8e 100644 --- a/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp +++ b/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp @@ -595,6 +595,8 @@ QList<QGraphicsItem *> QGraphicsSceneBspTreeIndex::estimateItems(const QRectF &r for (int i = 0; i < rectItems.size(); ++i) rectItems.at(i)->d_func()->itemDiscovered = 0; + rectItems += d->untransformableItems; + d->sortItems(&rectItems, order, d->sortCacheEnabled); return rectItems; |