Skip to content

Commit

Permalink
Fix Bug 403313 - Encoding problem on kmail2 5.10.1 when creating comp…
Browse files Browse the repository at this point in the history
…oser from command line

FIXED-IN: 5.10.3
BUG: 403313
  • Loading branch information
Montel committed Feb 25, 2019
1 parent 78c5c47 commit 893be63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/job/opencomposerjob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void OpenComposerJob::start()
}
if (!str.isEmpty()) {
mContext = KMail::Composer::NoTemplate;
mMsg->setBody(QString::fromLocal8Bit(str.data(), str.size()).toUtf8());
mMsg->setBody(QString::fromLocal8Bit(str.data(), str.size()).toLatin1());
slotOpenComposer();
} else {
TemplateParser::TemplateParserJob *parser = new TemplateParser::TemplateParserJob(mMsg, TemplateParser::TemplateParserJob::NewMessage);
Expand Down

0 comments on commit 893be63

Please sign in to comment.