Implement reordering of favorite folders using DnD

Authored by dfaure on Dec 1 2017, 8:09 AM.

Description

Implement reordering of favorite folders using DnD

Summary:
In order to separate favorites from the "entity order" QSFPM
used by the folder tree widget (it was always weird that filtering or
changing the sort order for the folder tree widget would affect favorites),
we need the favorites to get their own "ordering" proxy (otherwise
ordering is random, based on ETM population order). So while at it,
I implemented manual reordering of favorites.

BUG: 376073
FIXED-IN: 18.04

Test Plan:
I can reorder favorites (in listview mode) using DnD
and the order is persisted

Reviewers: dvratil, mlaurent

Reviewed By: mlaurent

Subscribers: KDE PIM

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D8884

Details

Committed
dfaureDec 1 2017, 12:52 PM
Reviewer
mlaurent
Differential Revision
D8884: Implement reordering of favorite folders using DnD
Parents
R92:c8820e73e334: Use EntityCollectionOrderProxyModel for filtering folders.
Branches
Unknown
Tags
Unknown