diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2010-06-04 11:50:36 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2010-06-04 11:50:36 (GMT) |
commit | af8b034e2886ecb11db51d4fecc29177595b86ab (patch) | |
tree | 012209cfed7ba77e6aac141d6aee22ee0648269c /src/gui/itemviews/qtreewidget.cpp | |
parent | ff35fc61cc8d6b103da4f079fce170d82406cea0 (diff) | |
download | Qt-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/qtreewidget.cpp')
-rw-r--r-- | src/gui/itemviews/qtreewidget.cpp | 4 |
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() |