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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platformsupport/input/shared/qevdevutil.cpp b/src/platformsupport/input/shared/qevdevutil.cpp
index 4557ac9def..c1ebb9ada0 100644
--- a/src/platformsupport/input/shared/qevdevutil.cpp
+++ b/src/platformsupport/input/shared/qevdevutil.cpp
@@ -15,7 +15,7 @@ ParsedSpecification parseSpecification(const QString &specification)
result.args = QStringView{specification}.split(u':');
- for (const auto &arg : qAsConst(result.args)) {
+ for (const auto &arg : std::as_const(result.args)) {
if (arg.startsWith("/dev/"_L1)) {
// if device is specified try to use it
result.devices.append(arg.toString());