diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2021-01-03 19:56:58 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-02-03 11:32:06 +0000 |
commit | 3dbc5816ff51976dac366eaaa5228a8d7f41cfbc (patch) | |
tree | a064499314d06f4f228b2fef53df605d3c34434c /src | |
parent | 94a56998eb32a908349f3740e8e4b996d6a7b5c6 (diff) |
QTreeWidgetItem: fix documentation error for childIndicatorPolicy()
The default value is 'DontShowIndicatorWhenChildless' and not
'ShowForChildren'.
Fixes: QTBUG-83648
Change-Id: I5d4dd9f3f58bcac09ed38d8ae451e3b771695ce7
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
(cherry picked from commit 39773571202194cafd4992e4fe7c4a33733b53af)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/widgets/itemviews/qtreewidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/itemviews/qtreewidget.cpp b/src/widgets/itemviews/qtreewidget.cpp index acf781c961..60b6d0493f 100644 --- a/src/widgets/itemviews/qtreewidget.cpp +++ b/src/widgets/itemviews/qtreewidget.cpp @@ -1690,7 +1690,7 @@ QTreeWidgetItem *QTreeWidgetItem::clone() const /*! Sets the item indicator \a policy. This policy decides when the tree branch expand/collapse indicator is shown. - The default value is ShowForChildren. + The default value is DontShowIndicatorWhenChildless. \sa childIndicatorPolicy() */ |