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

Use directly QStringLiteral

parent 3fe5ad43
......@@ -100,11 +100,11 @@ void RichTextComposerSignatures::cleanWhitespace(const KIdentityManagement::Sign
// Squeeze tabs and spaces
d->cleanWhitespaceHelper(QRegExp(QLatin1String("[\t ]+")),
QString(QLatin1Char(' ')), sig);
QStringLiteral(" "), sig);
// Remove trailing whitespace
d->cleanWhitespaceHelper(QRegExp(QLatin1String("[\t ][\n]")),
QString(QLatin1Char('\n')), sig);
QStringLiteral("\n"), sig);
// Single space lines
d->cleanWhitespaceHelper(QRegExp(QLatin1String("[\n]{3,}")),
......
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