diff options
author | Ariya Hidayat <ariya.hidayat@trolltech.com> | 2009-03-19 10:26:24 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@trolltech.com> | 2009-04-07 18:25:21 (GMT) |
commit | ce77e1d327653c2c0724d6d4a45564c25d98eda8 (patch) | |
tree | 04f1d093aaa87bb95f5f530b442153c56776c470 /src/gui/graphicsview/qgraphicsscene_bsp_p.h | |
parent | f4c03e0eec3b39145471f25d0a1cdcdba604790c (diff) | |
download | Qt-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_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene_bsp_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene_bsp_p.h b/src/gui/graphicsview/qgraphicsscene_bsp_p.h index 8b7d753..69d9eee 100644 --- a/src/gui/graphicsview/qgraphicsscene_bsp_p.h +++ b/src/gui/graphicsview/qgraphicsscene_bsp_p.h @@ -102,6 +102,8 @@ public: int leafCount() const; + int depth; + private: inline int firstChildIndex(int index) const |