Commit 8d88c9ec authored by Laurent Montel's avatar Laurent Montel
Browse files

Use const'ref

parent aac877c1
......@@ -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()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment