qt5base-lts/tests/auto/widgets
Andy Shaw 764854dc47 Call canFetchMore/fetchMore when scrolled to the bottom of the view
When scrolling to the bottom of the view, if there are expanded items
then it should call canFetchMore/fetchMore up the chain until it
finds one with more items that can possibly be retrieved.

This brings it in line with the QAbstractItemView implementation
which would call canFetchMore on the root index, therefore we
go up the chain to the root to see if anything before that can be fetched.

[ChangeLog][QtWidgets][QTreeView] QTreeView now calls canFetchMore and
fetchMore when the bottom of the QTreeView is scrolled to.

Task-number: QTBUG-48725
Change-Id: I2b2145684bb34c8c317bfce4a0ef14f243a64719
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2017-09-12 12:56:18 +00:00
..
dialogs Blacklist tst_QMessageBox::defaultButton on osx ci 2017-08-22 05:10:54 +00:00
effects Revert "QWidgetEffectSourcePrivate::draw(): Call render() when no shared painter exists" 2017-06-14 13:00:35 +00:00
graphicsview Merge remote-tracking branch 'origin/5.9' into dev 2017-08-31 14:31:31 +02:00
itemviews Call canFetchMore/fetchMore when scrolled to the bottom of the view 2017-09-12 12:56:18 +00:00
kernel Merge remote-tracking branch 'origin/5.9' into dev 2017-08-31 14:31:31 +02:00
styles Merge remote-tracking branch 'origin/5.9' into dev 2017-08-02 22:52:32 +02:00
util Convert features.filesystemmodel to QT_[REQUIRE_]CONFIG 2017-07-02 10:39:04 +00:00
widgets Merge remote-tracking branch 'origin/5.9' into dev 2017-08-15 16:31:48 +02:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00