qt5base-lts/tests/auto/widgets/itemviews/qtreeview
Joerg Bornemann 42b7a7c609 Fix crash due to QTreeView accessing deleted model indexes.
QTreeViewPrivate::updateScrollBars depends on a correctly set up
viewItems vector. If a delayed layout is pending, we must call
QTreeViewPrivate::executePostedLayout before accessing any stored model
indices.

Task-number: QTBUG-45697
Change-Id: I55fcbaf81f225b26181c2cf739283740b85dd16a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-05-27 14:04:41 +00:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
qtreeview.pro Use a fake directory model instead of QDirModel in item view tests. 2014-01-27 15:40:17 +01:00
tst_qtreeview.cpp Fix crash due to QTreeView accessing deleted model indexes. 2015-05-27 14:04:41 +00:00