summaryrefslogtreecommitdiffstats
path: root/src/linguist/shared/po.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-03-13 22:59:43 +0100
committerMarc Mutz <marc.mutz@kdab.com>2017-03-23 09:10:03 +0000
commit99c4243d04df2c543a3ea5c66d2e37ed7ac5e081 (patch)
tree2de5273b24857496dc1d31022dae674e7ea5252a /src/linguist/shared/po.cpp
parent919d07e6809a6705941a9819ba145062a947fa39 (diff)
Use join(QChar), join(QLatin1String) where applicable
They're faster/expand to less code. Change-Id: I4d79abb870c7b49784be17dc174ab68d98b1a75d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/linguist/shared/po.cpp')
-rw-r--r--src/linguist/shared/po.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linguist/shared/po.cpp b/src/linguist/shared/po.cpp
index ed6320de1..a998aa0f6 100644
--- a/src/linguist/shared/po.cpp
+++ b/src/linguist/shared/po.cpp
@@ -792,7 +792,7 @@ bool savePO(const Translator &translator, QIODevice &dev, ConversionData &)
.arg(ref.lineNumber()).arg(ref.fileName()));
if (!xrefs.isEmpty())
refs << xrefs;
- out << poWrappedEscapedLines(QLatin1String("#:"), true, refs.join(QLatin1String(" ")));
+ out << poWrappedEscapedLines(QLatin1String("#:"), true, refs.join(QLatin1Char(' ')));
}
bool noWrap = false;