summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-10-20 21:23:04 +0200
committerLuca Beldi <v.ronin@yahoo.it>2018-11-08 18:23:50 +0000
commitb53f997d8f20938d46b755eca54b4ec9a40e4ffe (patch)
tree6d6f02eb9913876cbcdff16e63c73e4b661c58da /tests/benchmarks
parent5668e059f2ffcf12b4171ea54ff016689ff91239 (diff)
QHeaderView: check for changed roles in dataChanged()
QHeaderView::dataChanged() did not check for the modified roles which lead to unneeded size calculations even if the size did not change. Avoid it by only looking at the relevant roles (DisplayRole, DecorationRole, SizeHintRole and FontRole). [ChangeLog][QtWidgets][QHeaderView] dataChanged now respects the given roles to avoid useless recomputations Fixes: QTBUG-71172 Change-Id: I0de53897347a72bddc425ae1fae8f2560ad0e977 Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions