diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2014-10-16 13:38:11 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-09-06 20:28:40 +0000 |
commit | 35ebdeb83eb4057f5e50042747b13d0772051459 (patch) | |
tree | 98970d5f064736c9779f8b85e54a4164ae520769 /examples | |
parent | 2105f801696759a365c4f928712de02e0e38e591 (diff) |
QTreeView: Fix expanding of spanning items
When using HeaderView::ResizeToContents and
QTreeWidgetItem::setFirstColumnSpanned(), it happens that the position
of the branch icon is no longer in the first column and thus trying to
expand the item results in a selection change. Check for spanning when
determining the position.
Task-number: QTBUG-41793
Change-Id: I14353127436fb0ebaafb0d50a31b920b8da67333
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions