summaryrefslogtreecommitdiffstats
path: root/config.tests/common/f16c/f16c.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-04-12 20:28:46 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-05-29 06:17:25 +0200
commit2f9c72028d2481f587f378a256654d0a362e3d44 (patch)
treeef3a185ede0f3a91d6e6c6f5fe43a6ce5a47d585 /config.tests/common/f16c/f16c.cpp
parent64b6a2aa70a210edcfe8b6dd61fdd97a5dda52ec (diff)
QTreeView: optimize Private::intersectedRect()HEADdev
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 'config.tests/common/f16c/f16c.cpp')
0 files changed, 0 insertions, 0 deletions