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
KDE PIM Add-ons
Commits
1d333790
Commit
1d333790
authored
Jul 07, 2021
by
Laurent Montel
😁
Browse files
Fix logic + load rules
parent
e8d45a6e
Pipeline
#69042
canceled with stage
in 30 minutes and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kmail/checkbeforedeletemailplugins/confirmbeforedeleting/confirmbeforedeletinginterface.cpp
View file @
1d333790
...
...
@@ -23,7 +23,7 @@ Akonadi::Item::List ConfirmBeforeDeletingInterface::exec(const Akonadi::Item::Li
for
(
const
auto
&
item
:
list
)
{
if
(
ConfirmBeforeDeletingManager
::
self
()
->
deletingNeedToConfirm
(
item
))
{
// Use subject ?
if
(
KMessageBox
::
questionYesNo
(
parentWidget
(),
i18n
(
"Do you want to delete this email?"
),
i18n
(
"Confirm Delete Mail"
))
==
KMessageBox
::
No
)
{
if
(
KMessageBox
::
questionYesNo
(
parentWidget
(),
i18n
(
"Do you want to delete this email?"
),
i18n
(
"Confirm Delete Mail"
))
==
KMessageBox
::
Yes
)
{
lst
<<
item
;
}
}
else
{
...
...
kmail/checkbeforedeletemailplugins/confirmbeforedeleting/confirmbeforedeletingmanager.cpp
View file @
1d333790
...
...
@@ -13,6 +13,7 @@
ConfirmBeforeDeletingManager
::
ConfirmBeforeDeletingManager
(
QObject
*
parent
)
:
QObject
(
parent
)
{
loadRules
();
}
ConfirmBeforeDeletingManager
::~
ConfirmBeforeDeletingManager
()
...
...
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