Use EntityCollectionOrderProxyModel for filtering folders.
ClosedPublic

Authored by dfaure on Nov 14 2017, 1:44 PM.

Details

Summary

This way the FolderTreeWidgetProxyModel (its source) doesn't get
filtered, which will allow FavoriteCollectionsModel to not get filtered
by the filter lineedit (once it uses FolderTreeWidgetProxyModel
directly).

This also simplifies FolderTreeWidgetProxyModel.

Test Plan

lineedit filtering in kmail still works

Diff Detail

Repository
R92 PIM: Common Mail Support
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure created this revision.Nov 14 2017, 1:44 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptNov 14 2017, 1:44 PM
mlaurent accepted this revision.Nov 24 2017, 8:24 AM

Thanks :)

This revision is now accepted and ready to land.Nov 24 2017, 8:24 AM
This revision was automatically updated to reflect the committed changes.