Commit 09c9384e authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Port away from Qt's ::endl

parent f9c996a6
......@@ -78,7 +78,7 @@ ConversionStatus GettextExportPlugin::save(QIODevice* device,
// Gettext PO files should have an empty msgid as header
if (!headerMsgid.isEmpty()) {
// ### perhaps it is grave enough for a user message
qCWarning(LOKALIZE_LOG) << "Non-empty msgid for the header, assuming empty msgid!" << endl << headerMsgid << "---";
qCWarning(LOKALIZE_LOG) << "Non-empty msgid for the header, assuming empty msgid!" << Qt::endl << headerMsgid << "---";
}
// ### FIXME: if it is the header, then the msgid should be empty! (Even if KBabel has made something out of a non-header first entry!)
......
......@@ -344,7 +344,7 @@ ConversionStatus GettextImportPlugin::readEntryRaw(QTextStream& stream)
if (Q_UNLIKELY(line.startsWith(lesslessless) || line.startsWith(isisis) || line.startsWith(moremoremore))) {
// We have found a CVS/SVN conflict marker. Abort.
// (It cannot be any useful data of the PO file, as otherwise the line would start with at least a quote)
qCWarning(LOKALIZE_LOG) << "CVS/SVN conflict marker found! Aborting!" << endl << line << endl;
qCWarning(LOKALIZE_LOG) << "CVS/SVN conflict marker found! Aborting!" << Qt::endl << line << Qt::endl;
return PARSE_ERROR;
}
......
......@@ -1187,7 +1187,7 @@ bool SelectJob::doSelect(QSqlDatabase& db,
idsForWord.clear();
queryWords.exec(queryString.arg(words.at(o)));
if (Q_UNLIKELY(!queryWords.exec(queryString.arg(words.at(o)))))
qCWarning(LOKALIZE_LOG) << "select error: " << queryWords.lastError().text() << endl;
qCWarning(LOKALIZE_LOG) << "select error: " << queryWords.lastError().text() << Qt::endl;
if (queryWords.next()) {
QByteArray arr(queryWords.value(0).toByteArray());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment