With Qt >= 5.10.0 use QSortFilterProxyModel instead of KRecursiveFilterProxyModel
ClosedPublic

Authored by ahmadsamir on Apr 8 2019, 8:31 PM.

Details

Summary

QSortFilterProxyModel in Qt >= 5.10.0 can recurse when showing
filetering results, thus use it directly.

Test Plan

Filtering with a string in the Projects panel shows all the matching
results including ones from any directories in the tree view.

Diff Detail

Repository
R40 Kate
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ahmadsamir created this revision.Apr 8 2019, 8:31 PM
Restricted Application added a project: Kate. · View Herald TranscriptApr 8 2019, 8:31 PM
ahmadsamir requested review of this revision.Apr 8 2019, 8:31 PM
dhaumann accepted this revision.Apr 9 2019, 8:15 AM

Well, if that works, I don't see an issue with this.

This revision is now accepted and ready to land.Apr 9 2019, 8:15 AM

Please commit. Thanks.

This revision was automatically updated to reflect the committed changes.