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

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

Change-Id: Id8d43c1b1ca9cd3aa0b4eedca6709b6287a9bc98
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
This commit is contained in:
Marc Mutz 2012-05-18 20:00:23 +02:00 committed by Qt by Nokia
parent 834e9823fc
commit e002bdee39
3 changed files with 3 additions and 3 deletions

View File

@ -1190,7 +1190,7 @@ Q_GUI_EXPORT QDebug operator<<(QDebug d, const QAccessibleInterface *iface)
stateStrings << QLatin1String("invisible");
if (!stateStrings.isEmpty())
d << stateStrings.join(QLatin1String("|"));
d << stateStrings.join(QLatin1Char('|'));
if (!st.invisible)
d << "rect=" << iface->rect();

View File

@ -69,7 +69,7 @@ QEvdevKeyboardManager::QEvdevKeyboardManager(const QString &key, const QString &
}
// build new specification without /dev/ elements
m_spec = args.join(QLatin1String(":"));
m_spec = args.join(QLatin1Char(':'));
// add all keyboards for devices specified in the argument list
foreach (const QString &device, devices)

View File

@ -75,7 +75,7 @@ QEvdevMouseManager::QEvdevMouseManager(const QString &key, const QString &specif
}
// build new specification without /dev/ elements
m_spec = args.join(QLatin1String(":"));
m_spec = args.join(QLatin1Char(':'));
// add all mice for devices specified in the argument list
foreach (const QString &device, devices)