Commit 0a9366c4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use directly confirmBeforeDeleting

parent fab05124
Pipeline #68888 passed with stage
in 23 minutes and 42 seconds
......@@ -1818,7 +1818,10 @@ void KMMainWidget::trashMessageSelected(MessageList::Core::MessageItemSetReferen
return;
}
const Akonadi::Item::List select = mMessagePane->itemListFromPersistentSet(ref);
Akonadi::Item::List select = mMessagePane->itemListFromPersistentSet(ref);
select = mPluginCheckBeforeDeletingManagerInterface->confirmBeforeDeleting(select);
mMessagePane->markMessageItemsAsAboutToBeRemoved(ref, true);
// FIXME: Why we don't use KMMoveCommand( trashFolder(), selectedMessages ); ?
......
Markdown is supported
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