summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-23 12:35:30 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-23 14:58:46 (GMT)
commitd39a62720ba67a0fa6e4e37519d22f14c7b7404e (patch)
tree5e42ae0b99374bc2bb019a5b8c4598c0caea9e46 /src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp
parentac3b7548b5f08529c532c7a22b679921a09d4c50 (diff)
downloadQt-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.cpp2
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;