summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-05-18 20:00:23 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-07 18:41:22 +0200
commite002bdee395e02f064e3915693b96317c5dc63f9 (patch)
tree218831bc89ef08fe46e90708804897136e6caaf6 /src
parent834e9823fc727d89c6b8e959dee29efa617a5aec (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/gui/accessible/qaccessible.cpp2
-rw-r--r--src/platformsupport/input/evdevkeyboard/qevdevkeyboardmanager.cpp2
-rw-r--r--src/platformsupport/input/evdevmouse/qevdevmousemanager.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/accessible/qaccessible.cpp b/src/gui/accessible/qaccessible.cpp
index a450801b21..714672d43b 100644
--- a/src/gui/accessible/qaccessible.cpp
+++ b/src/gui/accessible/qaccessible.cpp
@@ -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();
diff --git a/src/platformsupport/input/evdevkeyboard/qevdevkeyboardmanager.cpp b/src/platformsupport/input/evdevkeyboard/qevdevkeyboardmanager.cpp
index 39d07bc2b5..c2d0096b1a 100644
--- a/src/platformsupport/input/evdevkeyboard/qevdevkeyboardmanager.cpp
+++ b/src/platformsupport/input/evdevkeyboard/qevdevkeyboardmanager.cpp
@@ -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)
diff --git a/src/platformsupport/input/evdevmouse/qevdevmousemanager.cpp b/src/platformsupport/input/evdevmouse/qevdevmousemanager.cpp
index 677e06ba88..add6cfd199 100644
--- a/src/platformsupport/input/evdevmouse/qevdevmousemanager.cpp
+++ b/src/platformsupport/input/evdevmouse/qevdevmousemanager.cpp
@@ -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)