summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview
diff options
context:
space:
mode:
authorMorten Sorvig <msorvig@trolltech.com>2009-08-17 11:37:45 (GMT)
committerMorten Sorvig <msorvig@trolltech.com>2009-08-17 11:37:45 (GMT)
commit9b4982af65e533b0613abd0f889bcf6e7673e410 (patch)
tree6da061304e5d58fc6306600a06e8de07db246788 /src/gui/graphicsview
parentefd84105355552bcb203b5e402be0352641e7480 (diff)
parentdc2771eb57702a0daf5164b0f9ad569c9fe0e5ba (diff)
downloadQt-9b4982af65e533b0613abd0f889bcf6e7673e410.zip
Qt-9b4982af65e533b0613abd0f889bcf6e7673e410.tar.gz
Qt-9b4982af65e533b0613abd0f889bcf6e7673e410.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r--src/gui/graphicsview/qgraphicsitem.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp
index 74b8fe2..f454d7c 100644
--- a/src/gui/graphicsview/qgraphicsitem.cpp
+++ b/src/gui/graphicsview/qgraphicsitem.cpp
@@ -1183,6 +1183,9 @@ QGraphicsItem::QGraphicsItem(QGraphicsItemPrivate &dd, QGraphicsItem *parent,
Destroys the QGraphicsItem and all its children. If this item is currently
associated with a scene, the item will be removed from the scene before it
is deleted.
+
+ \note It is more efficient to remove the item from the QGraphicsScene before
+ destroying the item.
*/
QGraphicsItem::~QGraphicsItem()
{