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
fa654bd7
Commit
fa654bd7
authored
Nov 24, 2021
by
Ingo Klöcker
Browse files
Offer only OpenPGP when encrypting clipboard if CMS is disabled
GnuPG-bug-id: 5688
parent
99ea68ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/commands/encryptclipboardcommand.cpp
View file @
fa654bd7
...
...
@@ -15,6 +15,8 @@
#include "command_p.h"
#include <settings.h>
#include <crypto/encryptemailcontroller.h>
#include <utils/input.h>
...
...
@@ -83,7 +85,9 @@ EncryptClipboardCommand::Private::Private(EncryptClipboardCommand *qq, KeyListCo
input
(),
controller
(
EncryptEMailController
::
ClipboardMode
)
{
if
(
!
Settings
{}.
cmsEnabled
())
{
controller
.
setProtocol
(
GpgME
::
OpenPGP
);
}
}
EncryptClipboardCommand
::
Private
::~
Private
()
...
...
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