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>
This commit is contained in:
Christian Ehrlicher 2021-01-03 19:56:58 +01:00 committed by Qt Cherry-pick Bot
parent f0a0c00a0a
commit a6e8dd7bf8

View File

@ -1657,7 +1657,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()
*/