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/evdevkeyboard/qevdevkeyboardmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platformsupport/input/evdevkeyboard/qevdevkeyboardmanager.cpp') diff --git a/src/platformsupport/input/evdevkeyboard/qevdevkeyboardmanager.cpp b/src/platformsupport/input/evdevkeyboard/qevdevkeyboardmanager.cpp index 7080245d3b..1d4da0d200 100644 --- a/src/platformsupport/input/evdevkeyboard/qevdevkeyboardmanager.cpp +++ b/src/platformsupport/input/evdevkeyboard/qevdevkeyboardmanager.cpp @@ -124,7 +124,7 @@ void QEvdevKeyboardManager::loadKeymap(const QString &file) // Restore the default, which is either the built-in keymap or // the one given in the plugin spec. QString keymapFromSpec; - const auto specs = QStringView{m_spec}.split(QLatin1Char(':')); + const auto specs = QStringView{m_spec}.split(u':'); for (const auto &arg : specs) { if (arg.startsWith(QLatin1String("keymap="))) keymapFromSpec = arg.mid(7).toString(); -- cgit v1.2.3