qt5base-lts/tests/auto/widgets/itemviews/qtreeview
Christian Ehrlicher c15a069830 QTreeView: make sure to not ask the old model during setModel
Within QTreeView::setModel() the header might emit columnCountChanged
which then tries to update the geometries based on the old model which
is wrong.
Fix it by setting geometryRecursionBlock to true so
QTreeView::updateGeometries() will not ask the old model for it's data.

Fixes: QTBUG-75982
Change-Id: Ia0dd36cd7c6c5347fbc285deac43da6941accbe7
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2019-11-14 20:47:45 +02:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
qtreeview.pro testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
tst_qtreeview.cpp QTreeView: make sure to not ask the old model during setModel 2019-11-14 20:47:45 +02:00