summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-02-17 10:02:19 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-02-21 16:23:25 +0000
commit9395f35cb18725995910531ca8b09f1d84efa96c (patch)
tree23ead0d24eaaf38c16e8f92530dff861b9490361 /src/testlib
parentc0e45ae851c96dfebdebfd1e85b7b7eee6540bd1 (diff)
QHeaderView: Preserve settings on layoutChange with empty model
Do not clear the settings of QHeaderView during layoutChange when the model is empty and the section count did not change. This will not work when a section is moved or a section is replaced with a new one during layoutChange. But since layoutChanged is also called on sorting, this patch ensures that the settings are not cleared in this case. This restores the behavior to the same as before 5.9.4. Task-number: QTBUG-66444 Task-number: QTBUG-65478 Change-Id: I39989cfd45b42e58f49d18ec014d3a941cadb6c9 Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Diffstat (limited to 'src/testlib')
0 files changed, 0 insertions, 0 deletions