summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/input/evdevmouse/qevdevmousehandler.cpp
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2022-04-22 16:03:05 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2022-04-26 18:59:42 +0200
commit436774f15306889f0e43b44f823a1976d3482ef1 (patch)
tree4c4a874cd1be4fc168d5b36d9fe6e0d6c9b1d063 /src/platformsupport/input/evdevmouse/qevdevmousehandler.cpp
parent12fb2cfa11cb2e0b7deb00025b0f2c6a91519d98 (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/evdevmouse/qevdevmousehandler.cpp')
-rw-r--r--src/platformsupport/input/evdevmouse/qevdevmousehandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platformsupport/input/evdevmouse/qevdevmousehandler.cpp b/src/platformsupport/input/evdevmouse/qevdevmousehandler.cpp
index 80a2e0e8ff7..abf3e753485 100644
--- a/src/platformsupport/input/evdevmouse/qevdevmousehandler.cpp
+++ b/src/platformsupport/input/evdevmouse/qevdevmousehandler.cpp
@@ -75,7 +75,7 @@ std::unique_ptr<QEvdevMouseHandler> QEvdevMouseHandler::create(const QString &de
int grab = 0;
bool abs = false;
- const auto args = QStringView{specification}.split(QLatin1Char(':'));
+ const auto args = QStringView{specification}.split(u':');
for (const auto &arg : args) {
if (arg == QLatin1String("nocompress"))
compression = false;