<table><tr><td style="">dfaure created this revision.<br />dfaure added reviewers: dvratil, mlaurent.<br />Restricted Application added a project: KDE PIM.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8884" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In order to separate favorites from the "entity order" QSFPM<br />
used by the folder tree widget (it was always weird that filtering or<br />
changing the sort order for the folder tree widget would affect favorites),<br />
we need the favorites to get their own "ordering" proxy (otherwise<br />
ordering is random, based on ETM population order). So while at it,<br />
I implemented manual reordering of favorites.</p>

<p>BUG: 376073<br />
FIXED-IN: 18.04</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>I can reorder favorites (in listview mode) using DnD<br />
and the order is persisted</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R92 PIM: Common Mail Support</div></div></div><br /><div><strong>BRANCH</strong><div><div>favorites (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8884" rel="noreferrer">https://phabricator.kde.org/D8884</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/CMakeLists.txt<br />
autotests/favoritestest.cpp<br />
autotests/unittestenv/config.xml<br />
src/CMakeLists.txt<br />
src/folder/favoritecollectionorderproxymodel.cpp<br />
src/folder/favoritecollectionorderproxymodel.h<br />
src/widgets/favoritecollectionwidget.cpp<br />
src/widgets/favoritecollectionwidget.h</div></div></div><br /><div><strong>To: </strong>dfaure, dvratil, mlaurent<br /><strong>Cc: </strong>KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>