summaryrefslogtreecommitdiffstats
path: root/tools/linguist/lrelease
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-06-03 16:05:47 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-06-03 16:16:48 (GMT)
commit068177288001c46896d6b04c520731adb56ed288 (patch)
treef5588086116c8fa1d3d16bdefc544c6ad4fa5c49 /tools/linguist/lrelease
parent482159bddec1736a8854dc2db1b75cf856d00255 (diff)
downloadQt-068177288001c46896d6b04c520731adb56ed288.zip
Qt-068177288001c46896d6b04c520731adb56ed288.tar.gz
Qt-068177288001c46896d6b04c520731adb56ed288.tar.bz2
remove spurious empty lines in the linguist tools' output
ConversionData::error() does already newline-terminate the strings.
Diffstat (limited to 'tools/linguist/lrelease')
-rw-r--r--tools/linguist/lrelease/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/linguist/lrelease/main.cpp b/tools/linguist/lrelease/main.cpp
index df0b430..b5cff90 100644
--- a/tools/linguist/lrelease/main.cpp
+++ b/tools/linguist/lrelease/main.cpp
@@ -108,7 +108,7 @@ static bool loadTsFile(Translator &tor, const QString &tsFileName, bool /* verbo
ConversionData cd;
bool ok = tor.load(tsFileName, cd, QLatin1String("auto"));
if (!ok) {
- std::cerr << "lrelease error: " << qPrintable(cd.error()) << std::endl;
+ std::cerr << "lrelease error: " << qPrintable(cd.error());
} else {
if (!cd.errors().isEmpty())
printOut(cd.error());
@@ -143,7 +143,7 @@ static bool releaseTranslator(Translator &tor, const QString &qmFileName,
if (!ok) {
std::cerr << "lrelease error: cannot save '" << qPrintable(qmFileName)
- << "': " << qPrintable(cd.error()) << std::endl;
+ << "': " << qPrintable(cd.error());
} else if (!cd.errors().isEmpty()) {
printOut(cd.error());
}