[Akonadi] Port to QSortFilterProxyModel from deprecated KRecursiveFilterProxyModel
AbandonedPublic

Authored by winterz on Nov 28 2019, 4:23 PM.

Details

Reviewers
dvratil
mlaurent
Summary

KRecursiveFilterProxyModel is dead. Port to QSortFilterProxyModel.

follow instructions in krecursivefilterproxymodel.h:
"If you can depend on Qt >= 5.10, then just use QSortFilterProxyModel::setRecursiveFilteringEnabled(true), and you don't need to use KRecursiveFilterProxyModel."

WARNING: merging this will break mailcommon build. working on a separate patch for mailcommon. perhaps others projects will also fail. don't know yet.

Diff Detail

Repository
R165 Akonadi
Lint
Lint Skipped
Unit
Unit Tests Skipped
winterz created this revision.Nov 28 2019, 4:23 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptNov 28 2019, 4:23 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
winterz requested review of this revision.Nov 28 2019, 4:23 PM
winterz edited the summary of this revision. (Show Details)
winterz updated this revision to Diff 70510.Nov 28 2019, 4:47 PM

minor improvements , and fix 1 oopsie.

mlaurent requested changes to this revision.Nov 28 2019, 4:59 PM
mlaurent added a subscriber: mlaurent.
mlaurent added inline comments.
src/core/models/entityrightsfiltermodel.h
102

Who use this method now ?

Please use arc diff we can't see context and it's difficult to review patch.
same for other patch thanks

This revision now requires changes to proceed.Nov 28 2019, 4:59 PM
winterz abandoned this revision.Nov 29 2019, 10:09 PM

See new review using arcanist at https://phabricator.kde.org/D25621