diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2019-09-19 12:16:10 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2019-09-20 10:16:47 +0200 |
commit | 392aced821225a3364dc6d2f8c4d7caede7ea8d5 (patch) | |
tree | a2bb7f1f50441f1c584d1a13a88a3560559b9bee | |
parent | 9218482bbc76bc6ebfbdf1db3544f8bd3559c951 (diff) |
Fix build
Change-Id: I84fbdfb1e202ca3d46c7de58ddf0cb1437248c25
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
-rw-r--r-- | src/linguist/shared/po.cpp | 2 | ||||
-rw-r--r-- | src/linguist/shared/ts.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/linguist/shared/po.cpp b/src/linguist/shared/po.cpp index 4e623e6a3..19ba12b96 100644 --- a/src/linguist/shared/po.cpp +++ b/src/linguist/shared/po.cpp @@ -779,7 +779,7 @@ bool savePO(const Translator &translator, QIODevice &dev, ConversionData &) out << poEscapedString(QString(), QString::fromLatin1("msgstr"), true, hdrStr); foreach (const TranslatorMessage &msg, translator.messages()) { - out << endl; + out << Qt::endl; if (!msg.translatorComment().isEmpty()) out << poEscapedLines(QLatin1String("#"), true, msg.translatorComment()); diff --git a/src/linguist/shared/ts.cpp b/src/linguist/shared/ts.cpp index 8d394766a..6a7cc64fc 100644 --- a/src/linguist/shared/ts.cpp +++ b/src/linguist/shared/ts.cpp @@ -486,7 +486,7 @@ static void writeExtras(QTextStream &t, const char *indent, } outs.sort(); foreach (const QString &out, outs) - t << indent << out << endl; + t << indent << out << Qt::endl; } static void writeVariants(QTextStream &t, const char *indent, const QString &input) |