Qt says to do a proper model reset in this method.
I also noticed something funky going on with the LimitedRowCountProxyModel not showing any data which went away with this.
Details
Details
- Reviewers
- None
- Group Reviewers
Plasma - Commits
- R120:1c0c8ddef430: [Notifications] Fixup setSourceModel
5.18
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
QAbstractSortFilterProxyModel has docs that say you need it, but QSortFilterProxyModel which you inherit from does reset the model in setSourceModel.