summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2010-06-04 11:50:36 (GMT)
committerGeir Vattekar <geir.vattekar@nokia.com>2010-06-04 11:50:36 (GMT)
commitaf8b034e2886ecb11db51d4fecc29177595b86ab (patch)
tree012209cfed7ba77e6aac141d6aee22ee0648269c /src/gui/itemviews
parentff35fc61cc8d6b103da4f079fce170d82406cea0 (diff)
downloadQt-af8b034e2886ecb11db51d4fecc29177595b86ab.zip
Qt-af8b034e2886ecb11db51d4fecc29177595b86ab.tar.gz
Qt-af8b034e2886ecb11db51d4fecc29177595b86ab.tar.bz2
Doc: QTreeWidgetItems remove themselves from views when deleted.
Task-number: QTBUG-10640
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r--src/gui/itemviews/qtreewidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/itemviews/qtreewidget.cpp b/src/gui/itemviews/qtreewidget.cpp
index 0e06f34..8f55734 100644
--- a/src/gui/itemviews/qtreewidget.cpp
+++ b/src/gui/itemviews/qtreewidget.cpp
@@ -1472,6 +1472,10 @@ QTreeWidgetItem::QTreeWidgetItem(QTreeWidgetItem *parent, QTreeWidgetItem *after
/*!
Destroys this tree widget item.
+
+ The item will be removed from \l{QTreeWidget}s to which it has
+ been added. This makes it safe to delete an item at any time.
+
*/
QTreeWidgetItem::~QTreeWidgetItem()