-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QAbstractItemModelPrivate: add resetting member
This allows QQmlDelegateModel to know if a QAbstractItemModel subclass is in the process of a reset, which it can't know if beginResetModel was called in the model's constructor. As an added bonus, it also allows us to warn the user if they call endResetModel with a previous call to beginResetModel. Task-number: QTBUG-125053 Task-number: QTBUG-127340 Pick-to: 6.5 Change-Id: I7d1fb983e9bf868c48472624ad945ae158115943 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> (cherry picked from commit 9d8663c) (cherry picked from commit 2ea3abe) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
- Loading branch information
1 parent
aa70762
commit 8d811bb
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters