Go to file
Doris Verria b84852670d Fix infinite loop triggered when displaying model with QTreeView
For some models like the QFileSystemModel canFetchMore() returns true even though fetchMore() doesn't return anything if setRootPath is false. To prevent an infinite loop, add a check to make sure the model's rowCount was updated during the loop.

Fixes: QTBUG-87273
Pick-to: 5.15
Change-Id: I16275fc2765fd77badc1c5d265e8ba5cd250163a
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-10-14 21:43:45 +02:00
.github/workflows
bin
cmake
coin
config.tests
dist
doc
examples
lib
mkspecs
qmake
src
tests
util
.cmake.conf
.gitattributes
.gitignore
.lgtm.yml
.prev_configure.cmake
.prev_qt_cmdline.cmake
.qmake.conf
.tag
CMakeLists.txt
config_help.txt
configure
configure.bat
configure.cmake
configure.json
configure.pri
dependencies.yaml
INSTALL
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.QT-LICENSE-AGREEMENT
qt_cmdline.cmake
qtbase.pro
sync.profile