diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-04-12 20:28:46 +0200 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-05-29 06:17:25 +0200 |
commit | 2f9c72028d2481f587f378a256654d0a362e3d44 (patch) | |
tree | ef3a185ede0f3a91d6e6c6f5fe43a6ce5a47d585 /tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/P47/CVS/Repository | |
parent | 64b6a2aa70a210edcfe8b6dd61fdd97a5dda52ec (diff) |
The implementation for QTreeViewPrivate::intersectedRect() calculated
the view rect for every single index which is not needed:
- when the row is spanned, the first item spans the complete viewport
- the x-position of an index in the same column but different row is
the same so no need to re-calculate the boundaries again (similar to
the implementation in QTableView)
This reduces the visualRect() call count from n*m to n+m
Task-number: QTBUG-124173
Change-Id: I651b2ff9b6d4e68a82f32b3f5c3c0e746f88ce5e
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/P47/CVS/Repository')
0 files changed, 0 insertions, 0 deletions