QTreeWidgetItem: fix documentation error for childIndicatorPolicy()

The default value is 'DontShowIndicatorWhenChildless' and not
'ShowForChildren'.

Fixes: QTBUG-83648
Pick-to: 6.0
Pick-to: 5.15
Change-Id: I5d4dd9f3f58bcac09ed38d8ae451e3b771695ce7
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
This commit is contained in:
Christian Ehrlicher 2021-01-03 19:56:58 +01:00
parent 672d2ea8f4
commit 3977357120

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()
*/