diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-06-03 16:05:47 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-06-03 16:16:48 (GMT) |
commit | 068177288001c46896d6b04c520731adb56ed288 (patch) | |
tree | f5588086116c8fa1d3d16bdefc544c6ad4fa5c49 /tools/linguist/lrelease | |
parent | 482159bddec1736a8854dc2db1b75cf856d00255 (diff) | |
download | Qt-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.cpp | 4 |
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()); } |