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
PIM Messagelib
Commits
8d88c9ec
Commit
8d88c9ec
authored
May 30, 2017
by
Laurent Montel
Browse files
Use const'ref
parent
aac877c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/composer/composerviewbase.cpp
View file @
8d88c9ec
...
...
@@ -144,7 +144,7 @@ bool ComposerViewBase::isComposing() const
void
ComposerViewBase
::
setMessage
(
const
KMime
::
Message
::
Ptr
&
msg
,
bool
allowDecryption
)
{
if
(
m_attachmentModel
)
{
foreach
(
MessageCore
::
AttachmentPart
::
Ptr
attachment
,
m_attachmentModel
->
attachments
())
{
foreach
(
const
MessageCore
::
AttachmentPart
::
Ptr
&
attachment
,
m_attachmentModel
->
attachments
())
{
m_attachmentModel
->
removeAttachment
(
attachment
);
}
}
...
...
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