summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/qandroidplatformforeignwindow.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-12-23 15:44:48 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2020-03-28 09:03:18 +0100
commit8de62d34321cd827e60b0a7b6e7434070de301ae (patch)
tree048f18f000b6d9235057d800e5f3d79be35a5570 /src/plugins/platforms/android/qandroidplatformforeignwindow.cpp
parentb8be5b4002bd6163851bbae397171ebbf632f02f (diff)
QAbstractItemView::dataChanged(): optimize call to QWidget::update()HEADdev
When topLeft and bottomRight are different in QAIV::dataChanged(), the current implementation simply calls QWidget::update() without checking if the affected cells are visible. This results in a big performance hit when cells are updated frequently. Now try to compute the exact update rect by iterating through the modified indexes. Fixes: QTBUG-58580 Change-Id: I97de567d494e40ed8cdb1ea1f5b3cf3a2f60455e Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Diffstat (limited to 'src/plugins/platforms/android/qandroidplatformforeignwindow.cpp')
0 files changed, 0 insertions, 0 deletions