diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-07-09 10:50:00 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-12-19 14:18:06 +0100 |
commit | b122963e2363709d104cd6c180798d27812bb002 (patch) | |
tree | 2ef203371a7aa01265542d664cd1e311077b345b /src/linguist | |
parent | fbeafe0b975694072209f21e8746c3ffdc3be8b7 (diff) |
Fix Qt6 build
Change-Id: Ie413ca2e2f81ac0e92628ffd2f3e93047a91bd0c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
(cherry picked from commit 6b2f32f3dc9de965801927a4bc5d970028a318a6)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/linguist')
-rw-r--r-- | src/linguist/linguist/mainwindow.cpp | 2 | ||||
-rw-r--r-- | src/linguist/shared/po.cpp | 2 | ||||
-rw-r--r-- | src/linguist/shared/ts.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/linguist/linguist/mainwindow.cpp b/src/linguist/linguist/mainwindow.cpp index 235efd747..35ce52891 100644 --- a/src/linguist/linguist/mainwindow.cpp +++ b/src/linguist/linguist/mainwindow.cpp @@ -1347,7 +1347,7 @@ void MainWindow::manual() << (QT_VERSION >> 16) << ((QT_VERSION >> 8) & 0xFF) << (QT_VERSION & 0xFF) << QLatin1String("/qtlinguist/qtlinguist-index.html") - << QLatin1Char('\n') << endl; + << QLatin1Char('\n') << Qt::endl; } void MainWindow::about() 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) |