Commit 3cebe77c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 403313 - Encoding problem on kmail2 5.10.1 when creating composer from command line

FIXED-IN: 5.10.2
BUG: 403313
parent 26c0afcf
...@@ -102,7 +102,7 @@ void OpenComposerJob::start() ...@@ -102,7 +102,7 @@ void OpenComposerJob::start()
} }
} else if (!mOpenComposerSettings.mBody.isEmpty()) { } else if (!mOpenComposerSettings.mBody.isEmpty()) {
mContext = KMail::Composer::NoTemplate; mContext = KMail::Composer::NoTemplate;
mMsg->setBody(mOpenComposerSettings.mBody.toUtf8()); mMsg->setBody(mOpenComposerSettings.mBody.toLatin1());
slotOpenComposer(); slotOpenComposer();
} else { } else {
TemplateParser::TemplateParserJob *parser = new TemplateParser::TemplateParserJob(mMsg, TemplateParser::TemplateParserJob::NewMessage); TemplateParser::TemplateParserJob *parser = new TemplateParser::TemplateParserJob(mMsg, TemplateParser::TemplateParserJob::NewMessage);
......
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