Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE Pim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
Hide 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,9 +1642,7 @@ void MessageComposer::ComposerViewBase::markAllAttachmentsForSigning(bool sign)
{
if
(
m_attachmentModel
)
{
foreach
(
MessageCore
::
AttachmentPart
::
Ptr
attachment
,
m_attachmentModel
->
attachments
()
)
{
if
(
attachment
->
isSigned
()
)
{
attachment
->
setSigned
(
sign
);
}
attachment
->
setSigned
(
sign
);
}
}
}
...
...
@@ -1653,9 +1651,7 @@ void MessageComposer::ComposerViewBase::markAllAttachmentsForEncryption(bool enc
{
if
(
m_attachmentModel
)
{
foreach
(
MessageCore
::
AttachmentPart
::
Ptr
attachment
,
m_attachmentModel
->
attachments
()
)
{
if
(
attachment
->
isEncrypted
()
)
{
attachment
->
setEncrypted
(
encrypt
);
}
attachment
->
setEncrypted
(
encrypt
);
}
}
}
...
...
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