summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/fontsampler/mainwindow.cpp
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2015-01-19 19:26:22 +0100
committerDavid Faure <david.faure@kdab.com>2015-01-25 12:37:51 +0100
commitdd23d9f161deda1e72c1f6c4eccf1c6d598bf752 (patch)
treee8a1b3f89c727e7cd9391d70b29c6d69d8e688dd /examples/widgets/painting/fontsampler/mainwindow.cpp
parent4910f416c2c0d1ec4a11408647bc6c96c719ce18 (diff)
QTreeWidget: forbid forcing PartiallyChecked on parent tristate items.
ItemIsTristate means QTreeWidget determines the check state of parent items based on the check state of child items. Checking/unchecking the parent propagates to children; but setting the parent to PartiallyChecked shouldn't do that, especially since it can lead to children without ItemIsTristate having PartiallyChecked check state. Change-Id: Ibc8b7c77d9ec4c1578c07f3c62581edb770f8439 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Diffstat (limited to 'examples/widgets/painting/fontsampler/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions