Skip to content
GitLab
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
edae828c
Commit
edae828c
authored
Dec 15, 2021
by
Laurent Montel
Browse files
Fix isValid support
parent
e3bd6017
Pipeline
#110259
passed with stage
in 9 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kmail/checkbeforedeletemailplugins/confirmbeforedeleting/confirmbeforedeletingrule.cpp
View file @
edae828c
...
...
@@ -43,7 +43,7 @@ void ConfirmBeforeDeletingRule::load(const KConfigGroup &group)
bool
ConfirmBeforeDeletingRule
::
isValid
()
const
{
return
!
mPattern
.
isEmpty
()
&&
(
mRuleType
!=
Unknown
);
return
(
!
mPattern
.
isEmpty
()
&&
(
mRuleType
!=
Unknown
)
)
||
(
mRuleType
==
Unread
)
||
(
mRuleType
==
Important
)
;
}
void
ConfirmBeforeDeletingRule
::
save
(
KConfigGroup
&
group
)
const
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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