Commit 701a82d3 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

micro-optimization: use ProStringList::join(QChar) overload

Change-Id: I25c6205df78da7fbee0ad1b04476f528f376b7a6
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent ff38bb51
......@@ -1526,7 +1526,7 @@ QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateBuiltinConditional(
if (args.count() >= 2) {
const ProStringList &vals = values(args.at(1).toKey());
if (!vals.isEmpty())
contents = vals.join(fL1S("\n")) + QLatin1Char('\n');
contents = vals.join(QLatin1Char('\n')) + QLatin1Char('\n');
if (args.count() >= 3)
if (!args.at(2).toQString(m_tmp1).compare(fL1S("append"), Qt::CaseInsensitive))
mode = QIODevice::Append;
......
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