if (filters & QDir::System) flags << QLatin1String("System");
if (filters & QDir::CaseSensitive) flags << QLatin1String("CaseSensitive");
}
- debug << "QDir::Filters(" << qPrintable(flags.join(QLatin1String("|"))) << ')';
+ debug << "QDir::Filters(" << qPrintable(flags.join(QLatin1Char('|'))) << ')';
return debug;
}
if (sorting & QDir::Type) flags << QLatin1String("Type");
debug << "QDir::SortFlags(" << qPrintable(type)
<< '|'
- << qPrintable(flags.join(QLatin1String("|"))) << ')';
+ << qPrintable(flags.join(QLatin1Char('|'))) << ')';
}
return debug;
}
{
debug.maybeSpace() << "QDir(" << dir.path()
<< ", nameFilters = {"
- << qPrintable(dir.nameFilters().join(QLatin1String(",")))
+ << qPrintable(dir.nameFilters().join(QLatin1Char(',')))
<< "}, "
<< dir.sorting()
<< ','
modeList << QLatin1String("Unbuffered");
}
qSort(modeList);
- debug << modeList.join(QLatin1String("|"));
+ debug << modeList.join(QLatin1Char('|'));
debug << ')';
return debug;
}
const QString &bundle_identifier_component = bundle_identifier_components.at(i);
bundle_identifier_components_reversed.push_front(bundle_identifier_component);
}
- domainName = bundle_identifier_components_reversed.join(QLatin1String("."));
+ domainName = bundle_identifier_components_reversed.join(QLatin1Char('.'));
}
}
}
expectedPatterns.sort();
QStringList mimePatterns = mime.globPatterns();
mimePatterns.sort();
- QCOMPARE(mimePatterns.join(QLatin1String(";")), expectedPatterns.join(QLatin1String(";")));
+ QCOMPARE(mimePatterns.join(QLatin1Char(';')), expectedPatterns.join(QLatin1Char(';')));
QCOMPARE(mime.preferredSuffix(), preferredSuffix);
}
projectFile.write("\nCONFIG += release\n");
#endif
- QByteArray extraSources = QFile::encodeName(extraProgramSources.join(" "));
+ QByteArray extraSources = QFile::encodeName(extraProgramSources.join(' '));
if (!extraSources.isEmpty()) {
projectFile.write("SOURCES += ");
projectFile.write(extraSources);