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
Kleopatra
Commits
a020501e
Commit
a020501e
authored
Nov 05, 2020
by
Ingo Klöcker
Browse files
Simplify the filter setup
"bad" includes "revoked", "expired", and "disabled".
parent
b0535c2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/revokecertificationwidget.cpp
View file @
a020501e
...
...
@@ -52,10 +52,7 @@ CertificationKeyFilter::CertificationKeyFilter(const GpgME::Key &certificationTa
setIsOpenPGP
(
DefaultKeyFilter
::
Set
);
setHasSecret
(
DefaultKeyFilter
::
Set
);
setCanCertify
(
DefaultKeyFilter
::
Set
);
setRevoked
(
DefaultKeyFilter
::
NotSet
);
setExpired
(
DefaultKeyFilter
::
NotSet
);
setIsBad
(
DefaultKeyFilter
::
NotSet
);
setDisabled
(
DefaultKeyFilter
::
NotSet
);
}
bool
CertificationKeyFilter
::
matches
(
const
GpgME
::
Key
&
key
,
Kleo
::
KeyFilter
::
MatchContexts
contexts
)
const
...
...
Write
Preview
Supports
Markdown
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