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 4cecb27a64c..31afabe56a7 100644
--- a/src/platformsupport/input/shared/qevdevutil.cpp
+++ b/src/platformsupport/input/shared/qevdevutil.cpp
@@ -47,7 +47,7 @@ ParsedSpecification parseSpecification(const QString &specification)
{
ParsedSpecification result;
- result.args = QStringView{specification}.split(QLatin1Char(':'));
+ result.args = QStringView{specification}.split(u':');
for (const auto &arg : qAsConst(result.args)) {
if (arg.startsWith(QLatin1String("/dev/"))) {
@@ -55,7 +55,7 @@ ParsedSpecification parseSpecification(const QString &specification)
result.devices.append(arg.toString());
} else {
// build new specification without /dev/ elements
- result.spec += arg + QLatin1Char(':');
+ result.spec += arg + u':';
}
}