summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/input/shared/qevdevutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platformsupport/input/shared/qevdevutil.cpp')
-rw-r--r--src/platformsupport/input/shared/qevdevutil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platformsupport/input/shared/qevdevutil.cpp b/src/platformsupport/input/shared/qevdevutil.cpp
index 74f8bcdc2b..4cecb27a64 100644
--- a/src/platformsupport/input/shared/qevdevutil.cpp
+++ b/src/platformsupport/input/shared/qevdevutil.cpp
@@ -47,9 +47,9 @@ ParsedSpecification parseSpecification(const QString &specification)
{
ParsedSpecification result;
- result.args = specification.splitRef(QLatin1Char(':'));
+ result.args = QStringView{specification}.split(QLatin1Char(':'));
- for (const QStringRef &arg : qAsConst(result.args)) {
+ for (const auto &arg : qAsConst(result.args)) {
if (arg.startsWith(QLatin1String("/dev/"))) {
// if device is specified try to use it
result.devices.append(arg.toString());