D14465: Fix Move To Trash command for virtual collections
Daniel Vrátil
noreply at phabricator.kde.org
Sun Jul 29 18:11:31 BST 2018
dvratil created this revision.
dvratil added a reviewer: mlaurent.
Restricted Application added a project: KDE PIM.
Restricted Application added a subscriber: kde-pim.
dvratil requested review of this revision.
REVISION SUMMARY
When current folder is a virtual collection, the Items in it may belong
to multiple different resources and as such have different Trash folders.
This change makes KMTrashMsgCommand aware of this fact and to handle
this case correctly by resolving parent collections of all selected
messages.
TEST PLAN
Tested against the Unified Mailboxes Agent (currently loving in
dev/unified-mailboxes branch) which has virtual collections.
REPOSITORY
R206 KMail
BRANCH
fix-moving-to-trash-from-virtual-collection
REVISION DETAIL
https://phabricator.kde.org/D14465
AFFECTED FILES
src/kmcommands.cpp
src/kmcommands.h
src/kmmainwidget.cpp
src/kmmainwidget.h
To: dvratil, mlaurent
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180729/ae461a02/attachment.html>
More information about the kde-pim
mailing list