summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp b/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp
index a54ade9..3cb33d1 100644
--- a/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp
+++ b/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp
@@ -34,7 +34,7 @@
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
+** contact the sales department at http://www.qtsoftware.com/contact.
** $QT_END_LICENSE$
**
****************************************************************************/
@@ -75,6 +75,8 @@
\sa QGraphicsScene, QGraphicsView, QGraphicsSceneIndex
*/
+#include <QtCore/qglobal.h>
+
#ifndef QT_NO_GRAPHICSVIEW
#include <private/qgraphicsscene_p.h>
@@ -542,6 +544,7 @@ void QGraphicsSceneBspTreeIndex::clear()
d->indexedItems.clear();
d->unindexedItems.clear();
d->untransformableItems.clear();
+ d->regenerateIndex = true;
}
/*!