summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-06-08 22:42:10 +0200
committerMontel Laurent <[email protected]>2017-06-08 22:42:10 +0200
commitd5c0f7ad1db5e3f18b956621bc3e69f0534c9aef (patch)
tree25558f659878a9685f6b37c7de2f00c4976692e5
parenteb671f733c8e0dfcce92290e701ff76148afad9f (diff)
Use QLatin1String here
-rw-r--r--src/ksieveui/vacation/legacy/vacationutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ksieveui/vacation/legacy/vacationutils.cpp b/src/ksieveui/vacation/legacy/vacationutils.cpp
index ab66102..a150c45 100644
--- a/src/ksieveui/vacation/legacy/vacationutils.cpp
+++ b/src/ksieveui/vacation/legacy/vacationutils.cpp
@@ -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("\\\""));
}