Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Unmaintained
KDE Pim
Commits
626c857e
Commit
626c857e
authored
Dec 03, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug 340312 - Attachments are not encrypted when "automatic encryption" is selected
FIXED-IN: 14.12 BUG: 340312
parent
5c74af01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
messagecomposer/composer/composerviewbase.cpp
messagecomposer/composer/composerviewbase.cpp
+2
-6
No files found.
messagecomposer/composer/composerviewbase.cpp
View file @
626c857e
...
...
@@ -1642,22 +1642,18 @@ void MessageComposer::ComposerViewBase::markAllAttachmentsForSigning(bool sign)
{
if
(
m_attachmentModel
)
{
foreach
(
MessageCore
::
AttachmentPart
::
Ptr
attachment
,
m_attachmentModel
->
attachments
()
)
{
if
(
attachment
->
isSigned
()
)
{
attachment
->
setSigned
(
sign
);
}
}
}
}
void
MessageComposer
::
ComposerViewBase
::
markAllAttachmentsForEncryption
(
bool
encrypt
)
{
if
(
m_attachmentModel
)
{
foreach
(
MessageCore
::
AttachmentPart
::
Ptr
attachment
,
m_attachmentModel
->
attachments
()
)
{
if
(
attachment
->
isEncrypted
()
)
{
attachment
->
setEncrypted
(
encrypt
);
}
}
}
}
bool
MessageComposer
::
ComposerViewBase
::
determineWhetherToSign
(
bool
doSignCompletely
,
Kleo
::
KeyResolver
*
keyResolver
,
bool
signSomething
,
bool
&
result
,
bool
&
canceled
)
...
...
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