Commit 62683396 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Minor optimization

parent ef4b32df
......@@ -1262,7 +1262,7 @@ void TemplateParser::addProcessedBodyToMessage( const QString &plainBody,
mMsg->contentType()->clear(); // to get rid of old boundary
const QByteArray boundary = KMime::multiPartBoundary();
//const QByteArray boundary = KMime::multiPartBoundary();
KMime::Content *const mainTextPart =
htmlBody.isEmpty() ?
createPlainPartContent( plainBody ) :
......@@ -1312,7 +1312,7 @@ KMime::Content *TemplateParser::createMultipartMixed( const MessageCore::Attachm
QLatin1String("name"), i18nc( "@item:intext", "Attachment %1", attachmentNumber ) );
}
}
attachmentNumber++;
++attachmentNumber;
}
return mixedPart;
}
......
Markdown is supported
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