path: root/tests/benchmarks
diff options
authorChristian Ehrlicher <>2018-04-18 20:46:37 +0200
committerChristian Ehrlicher <>2018-09-17 14:01:28 +0000
commit2b177314139b830ca7e2d5bc414131b0dc9fd5b9 (patch)
treeaeb05bc4b855200456eecb4ca5b42431584dfb53 /tests/benchmarks
parent46f1061822fa73cc158b21faf260b20eea16d38b (diff)
QTableView: fix calculating cells to draw
The width of the bitarray which should avoid redraws of already drawn cells is sometimes calculated with other parameters then the actual drawing. This can lead to cells which are not drawn. The reason for the discrepancy is that for the initial calculation the headers viewport width is taken which can be smaller than the real width due to a css border. Since all other QHeaderView operations do not take the border into account the problem arises. This will not fix the visual glitch (the header separators are not painted at the same position as the grid) but will at least draw all needed cells. Task-number: QTBUG-20316 Change-Id: I4a1e35ee3ea51b1b458ad3497aab0a34af680cb8 Reviewed-by: Richard Moe Gustavsen <>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions