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
3811ae26
Verified
Commit
3811ae26
authored
Jul 17, 2020
by
Andre Heinecke
Browse files
Fix protocol check for SSH export opt
The intention was to check for pgp and not for any protocol.
parent
cca5d3e8
Pipeline
#27476
passed with stage
in 24 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/subkeyswidget.cpp
View file @
3811ae26
...
...
@@ -80,7 +80,7 @@ void SubKeysWidget::Private::tableContextMenuRequested(const QPoint &p)
bool
hasActions
=
false
;
#ifdef GPGME_HAS_EXPORT_FLAGS
if
(
subkey
.
parent
().
protocol
()
&&
subkey
.
canAuthenticate
())
{
if
(
subkey
.
parent
().
protocol
()
==
GpgME
::
OpenPGP
&&
subkey
.
canAuthenticate
())
{
hasActions
=
true
;
menu
->
addAction
(
QIcon
::
fromTheme
(
QStringLiteral
(
"view-certificate-export"
)),
i18n
(
"Export OpenSSH key"
),
...
...
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