Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
0a9366c4
Commit
0a9366c4
authored
Jul 06, 2021
by
Laurent Montel
😁
Browse files
Use directly confirmBeforeDeleting
parent
fab05124
Pipeline
#68888
passed with stage
in 23 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kmmainwidget.cpp
View file @
0a9366c4
...
...
@@ -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 ); ?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment