diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-04-12 20:17:08 +0200 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-08-10 13:07:33 +0000 |
| commit | ff339819925ab550c48b53d9baaba43e5adebfaa (patch) | |
| tree | 249cec8f65998fda400d7b22567f54bee353006c /src/corelib/kernel/qtimer.cpp | |
| parent | c234700c836777d08db6229fdc997cc7c99e45fb (diff) | |
QAbstractItemView: don't calc update rect when there are to many indexes
With 8de62d34321cd827e60b0a7b6e7434070de301ae we try to avoid a complete
repaint by checking if the changed indexes are inside the visible rect.
This works fine when the amount of indexes to check is small but fails
otherwise. Therefore add a configurable, upper bound for this check.
Fixes: QTBUG-124173
Change-Id: I1aedd2cbe6e2d0090a640c8a1cf1cdb69f5b002a
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions
