Commit 9c18849b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify

parent 14b40f93
Pipeline #24772 passed with stage
in 33 minutes and 45 seconds
......@@ -435,7 +435,7 @@ void ComposerPrivate::composeFinalStep(KMime::Content *headers, KMime::Content *
{
content->assemble();
QByteArray allData = headers->head() + content->encodedContent();
const QByteArray allData = headers->head() + content->encodedContent();
KMime::Message::Ptr resultMessage(new KMime::Message);
resultMessage->setContent(allData);
resultMessage->parse(); // Not strictly necessary.
......
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