diff options
| author | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-22 16:03:05 +0200 |
|---|---|---|
| committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-26 18:59:42 +0200 |
| commit | 436774f15306889f0e43b44f823a1976d3482ef1 (patch) | |
| tree | 4c4a874cd1be4fc168d5b36d9fe6e0d6c9b1d063 /src/platformsupport/input/shared/qevdevutil.cpp | |
| parent | 12fb2cfa11cb2e0b7deb00025b0f2c6a91519d98 (diff) | |
Platformsupport: stop using QLatin1Char() for creating char literals
Required for porting away from QLatin1Char/QLatin1String in scope of
QTBUG-98434.
Change-Id: I58e00618fc8c82fad8d35a66c1d46e459bfc9de6
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/platformsupport/input/shared/qevdevutil.cpp')
| -rw-r--r-- | src/platformsupport/input/shared/qevdevutil.cpp | 4 |
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':'; } } |
