Use QStringList::join(QChar) overload where applicable [QtDBus]

This is an automated change performing the following replacements:
                    join\("(.)"\) -> join('\1')
  join\(QLatin1String\("(.)"\)\)  -> join(QLatin1Char('\1'))
  join\(QStringLiteral\("(.)"\)\) -> join(QLatin1Char('\1'))

Change-Id: I807b0e88ac71a0cb367fb4170cca8f2cb0ad43f3
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
This commit is contained in:
Marc Mutz 2012-05-18 20:00:23 +02:00 committed by Qt by Nokia
parent 56cb4bc01f
commit ecf7f0d954
2 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ static void parseCmdLine(QStringList args)
args.takeFirst();
commandLine = QLatin1String(PROGRAMNAME " ");
commandLine += args.join(QLatin1String(" "));
commandLine += args.join(QLatin1Char(' '));
int i = 0;
while (i < args.count()) {

View File

@ -1043,7 +1043,7 @@ void tst_QDBusAbstractAdaptor::readAllPropertiesEmptyInterface()
}
QVERIFY2(allprops.isEmpty(),
qPrintable(QStringList(allprops.keys()).join(" ")));
qPrintable(QStringList(allprops.keys()).join(' ')));
} else {
for ( ; it != expectedProperties.constEnd(); ++it)
QVERIFY2(!allprops.contains(it.key()), qPrintable(it.key()));
@ -1549,7 +1549,7 @@ void tst_QDBusAbstractAdaptor::readAllPropertiesEmptyInterfacePeer()
}
QVERIFY2(allprops.isEmpty(),
qPrintable(QStringList(allprops.keys()).join(" ")));
qPrintable(QStringList(allprops.keys()).join(' ')));
} else {
for ( ; it != expectedProperties.constEnd(); ++it)
QVERIFY2(!allprops.contains(it.key()), qPrintable(it.key()));