Commit 948ec681 authored by Laurent Montel's avatar Laurent Montel
Browse files

USe QLatin1Char(..)

parent 87098ac0
......@@ -864,7 +864,7 @@ public:
ConvertHtmlToPlainText convert;
QString plaintext = convert.generatePlainText();
plaintext.replace(QLatin1String("\n"), QStringLiteral("<br>"));
plaintext.replace(QLatin1Char('\n'), QStringLiteral("<br>"));
c.insert(QStringLiteral("plaintext"), plaintext);
mp->source()->setHtmlMode(Util::Html, QList<Util::HtmlMode>() << Util::Html);
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