Skip to content
Commit 40252aae authored by David Faure's avatar David Faure
Browse files

Simplify FavoriteCollectionsModel: inherit KSelectionProxyModel

Summary:
instead of inheriting from Akonadi::SelectionProxyModel and disabling
the very little that Akonadi::SelectionProxyModel does compared to
its base class, KSelectionProxyModel.

And add a comment about why QSortFilterProxyModel wouldn't do,
replacing the comment that we should inherit from that instead.

Test Plan: Favorites work like before. The code is cleaner :)

Reviewers: dvratil, cmollekopf

Reviewed By: dvratil

Subscribers: #kde_pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D8802
parent c5a31c8d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment