Commit 31064b90 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QLatin1String in join/startswith/endsWith/contains + QString::replace...

Use QLatin1String in join/startswith/endsWith/contains + QString::replace operates on the same object, no need to reassign
parent b146eb2f
......@@ -465,7 +465,7 @@ bool Blogger1Private::readPostFromMap(
return false;
}
qCDebug(KBLOG_LOG) << endl << "Keys:" << QStringList(postInfo.keys()).join(QStringLiteral(", "));
qCDebug(KBLOG_LOG) << endl << "Keys:" << QStringList(postInfo.keys()).join(QLatin1String(", "));
qCDebug(KBLOG_LOG) << endl;
QDateTime dt = postInfo[QStringLiteral("dateCreated")].toDateTime();
......
......@@ -268,7 +268,7 @@ bool MetaWeblogPrivate::readPostFromMap(BlogPost *post,
return false;
}
qCDebug(KBLOG_LOG) << endl << "Keys:" << QStringList(postInfo.keys()).join(QStringLiteral(", "));
qCDebug(KBLOG_LOG) << endl << "Keys:" << QStringList(postInfo.keys()).join(QLatin1String(", "));
qCDebug(KBLOG_LOG) << endl;
QDateTime dt = postInfo[QStringLiteral("dateCreated")].toDateTime();
......
......@@ -460,7 +460,7 @@ bool MovableTypePrivate::readPostFromMap(BlogPost *post, const QMap<QString, QVa
return false;
}
qCDebug(KBLOG_LOG) << endl << "Keys:" << QStringList(postInfo.keys()).join(QStringLiteral(", "));
qCDebug(KBLOG_LOG) << endl << "Keys:" << QStringList(postInfo.keys()).join(QLatin1String(", "));
qCDebug(KBLOG_LOG) << endl;
QDateTime dt = postInfo[QStringLiteral("dateCreated")].toDateTime();
......
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