summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-07-02 07:56:13 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-07-02 07:56:13 (GMT)
commit5fc3fe2e3f04475ac8c0e3287af6042bd8b67c57 (patch)
tree60c665a45a0839f349aa5cff326da0161bf21d57 /src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp
parent2b9294a2b47c4a193ef83be60a07a3e61b8531b4 (diff)
downloadQt-5fc3fe2e3f04475ac8c0e3287af6042bd8b67c57.zip
Qt-5fc3fe2e3f04475ac8c0e3287af6042bd8b67c57.tar.gz
Qt-5fc3fe2e3f04475ac8c0e3287af6042bd8b67c57.tar.bz2
Dont include untransformable graphics items twice.
This revertes d39a62720ba67a0fa6e4e37519d22f14c7b7404e (we had to do it with the old implementation, but the new one have untransformable items included in the indexed list. The only difference is that untransformable items are also in the untransformable list; otherwise in the bsp tree). Auto-test included.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp b/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp
index ff9a3da..c8d755e 100644
--- a/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp
+++ b/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp
@@ -606,7 +606,6 @@ QList<QGraphicsItem *> QGraphicsSceneBspTreeIndex::items(Qt::SortOrder order) co
itemList << item;
}
}
- itemList += d->untransformableItems;
if (order != -1) {
//We sort descending order
d->sortItems(&itemList, order, d->sortCacheEnabled);