diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2020-12-22 14:16:59 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2021-02-12 17:39:37 +0100 |
commit | 77e1cc4b39fb030a5c299a2d068ff24ce232f5f6 (patch) | |
tree | 4bcd386f129d9d5e570234295f9865858353d89b /tests | |
parent | 1fc3c6f9b9f62cc3ff2b9106a67523c76c63ac3b (diff) |
QHeaderView: pass sectionSize to createSectionItems()
.. instead complete size for the affected range. The complete size was
calculated before for every call of createSectionItems() and then the
function calculated the size per section back for no reason.
Passing the sum of all sections is therefore not needed and may lead to
an integer overflow for big datasets.
Task-number: QTBUG-88728
Change-Id: I8af0b0c3e97021ff0637fe1ee3ca3adfa23a2d0e
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions