From ab7c7b66ec5750d95e8699a18240d814d956f177 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 8 Jan 2012 22:20:18 +0100 Subject: Fix constness of QGraphicsSceneBspTreeIndex::bspTreeDepth() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8298afc9c493a1e9c6e49cc36a97184a50709558 Reviewed-by: Jędrzej Nowacki Reviewed-by: Thorbjørn Lund Martsum --- src/widgets/graphicsview/qgraphicsscenebsptreeindex_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/graphicsview/qgraphicsscenebsptreeindex_p.h') diff --git a/src/widgets/graphicsview/qgraphicsscenebsptreeindex_p.h b/src/widgets/graphicsview/qgraphicsscenebsptreeindex_p.h index d1b3099295..b3b31fca6a 100644 --- a/src/widgets/graphicsview/qgraphicsscenebsptreeindex_p.h +++ b/src/widgets/graphicsview/qgraphicsscenebsptreeindex_p.h @@ -83,7 +83,7 @@ public: QList estimateTopLevelItems(const QRectF &rect, Qt::SortOrder order) const; QList items(Qt::SortOrder order = Qt::DescendingOrder) const; - int bspTreeDepth(); + int bspTreeDepth() const; void setBspTreeDepth(int depth); protected Q_SLOTS: -- cgit v1.2.3