summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene_bsp.cpp
diff options
context:
space:
mode:
authorAriya Hidayat <ariya.hidayat@trolltech.com>2009-03-19 10:26:24 (GMT)
committerAlexis Menard <alexis.menard@trolltech.com>2009-04-07 18:25:21 (GMT)
commitce77e1d327653c2c0724d6d4a45564c25d98eda8 (patch)
tree04f1d093aaa87bb95f5f530b442153c56776c470 /src/gui/graphicsview/qgraphicsscene_bsp.cpp
parentf4c03e0eec3b39145471f25d0a1cdcdba604790c (diff)
downloadQt-ce77e1d327653c2c0724d6d4a45564c25d98eda8.zip
Qt-ce77e1d327653c2c0724d6d4a45564c25d98eda8.tar.gz
Qt-ce77e1d327653c2c0724d6d4a45564c25d98eda8.tar.bz2
Fixes: Move the bsp depth variable to the BSP tree class.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene_bsp.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicsscene_bsp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene_bsp.cpp b/src/gui/graphicsview/qgraphicsscene_bsp.cpp
index 29c54bb..a81b14d 100644
--- a/src/gui/graphicsview/qgraphicsscene_bsp.cpp
+++ b/src/gui/graphicsview/qgraphicsscene_bsp.cpp
@@ -84,7 +84,7 @@ public:
};
QGraphicsSceneBspTree::QGraphicsSceneBspTree(QObject *parent)
- : QGraphicsSceneIndex(parent), leafCnt(0)
+ : QGraphicsSceneIndex(parent), depth(0), leafCnt(0)
{
insertVisitor = new QGraphicsSceneInsertItemBspTreeVisitor;
removeVisitor = new QGraphicsSceneRemoveItemBspTreeVisitor;