From 436774f15306889f0e43b44f823a1976d3482ef1 Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Fri, 22 Apr 2022 16:03:05 +0200 Subject: 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 --- src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/platformsupport/input/evdevtouch') diff --git a/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp b/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp index a3f6a470be..191a578d9f 100644 --- a/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp +++ b/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp @@ -211,13 +211,13 @@ QEvdevTouchScreenHandler::QEvdevTouchScreenHandler(const QString &device, const { setObjectName(QLatin1String("Evdev Touch Handler")); - const QStringList args = spec.split(QLatin1Char(':')); + const QStringList args = spec.split(u':'); int rotationAngle = 0; bool invertx = false; bool inverty = false; for (int i = 0; i < args.count(); ++i) { if (args.at(i).startsWith(QLatin1String("rotate"))) { - QString rotateArg = args.at(i).section(QLatin1Char('='), 1, 1); + QString rotateArg = args.at(i).section(u'=', 1, 1); bool ok; uint argValue = rotateArg.toUInt(&ok); if (ok) { -- cgit v1.2.3