Commit d5c0f7ad authored by Laurent Montel's avatar Laurent Montel 😁

Use QLatin1String here

parent eb671f73
......@@ -44,7 +44,7 @@ static inline QString dotstuff(QString s) // krazy:exclude=passbyvalue
static inline QString stringReplace(QString s)
{
s = s.replace(QRegExp(QStringLiteral("[\n\t]+")), QStringLiteral(" "));
s = s.replace(QRegExp(QLatin1String("[\n\t]+")), QStringLiteral(" "));
return s.replace(QLatin1Char('\"'), QStringLiteral("\\\""));
}
......
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