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
Kleopatra
Commits
da5e65e8
Commit
da5e65e8
authored
Nov 23, 2021
by
Ingo Klöcker
Browse files
Restrict file operations to OpenPGP if CMS is disabled
GnuPG-bug-id: 5688
parent
489204d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/crypto/gui/signencryptfileswizard.cpp
View file @
da5e65e8
...
...
@@ -16,6 +16,8 @@
#include
"newresultpage.h"
#include
<settings.h>
#include
<KLocalizedString>
#include
<KSharedConfig>
#include
<KColorScheme>
...
...
@@ -125,6 +127,9 @@ public:
setTitle
(
i18nc
(
"@title"
,
"Sign / Encrypt Files"
));
auto
vLay
=
new
QVBoxLayout
(
this
);
vLay
->
setContentsMargins
(
0
,
0
,
0
,
0
);
if
(
!
Settings
{}.
cmsEnabled
())
{
mWidget
->
setProtocol
(
GpgME
::
OpenPGP
);
}
mWidget
->
setSignAsText
(
i18nc
(
"@option:check on SignEncryptPage"
,
"&Sign as:"
));
mWidget
->
setEncryptForMeText
(
i18nc
(
"@option:check on SignEncryptPage"
,
...
...
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