8de62d3432
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>
5 lines
161 B
Prolog
5 lines
161 B
Prolog
CONFIG += testcase
|
|
TARGET = tst_qabstractitemview
|
|
QT += widgets testlib testlib-private gui-private widgets-private
|
|
SOURCES += tst_qabstractitemview.cpp
|