diff options
Diffstat (limited to 'src/widgets/itemviews/qtreewidget.cpp')
-rw-r--r-- | src/widgets/itemviews/qtreewidget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/itemviews/qtreewidget.cpp b/src/widgets/itemviews/qtreewidget.cpp index cd57b5828a..6b9ccf5043 100644 --- a/src/widgets/itemviews/qtreewidget.cpp +++ b/src/widgets/itemviews/qtreewidget.cpp @@ -1010,6 +1010,9 @@ void QTreeModel::timerEvent(QTimerEvent *ev) \since 4.2 Hides the item if \a hide is true, otherwise shows the item. + \note A call to this function has no effect if the item is not currently in a view. In particular, + calling \c setHidden(true) on an item and only then adding it to a view will result in + a visible item. \sa isHidden() */ |