summaryrefslogtreecommitdiffstats
path: root/mkspecs
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-22 18:17:43 +0000
commitc213dfac5335310bd550836223d47100875fe2bc (patch)
tree6998199ffb88dd590d29a4d342a7d6f60a6eddd7 /mkspecs
parent2551e96d782f5381460cc144235f22ac8ef9e7ef (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> (cherry picked from commit 9395f35cb18725995910531ca8b09f1d84efa96c)
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions