diff --git a/plugins/remotekeyboard/remotekeyboardplugin.cpp b/plugins/remotekeyboard/remotekeyboardplugin.cpp index 55beec80f..d0d6a631f 100644 --- a/plugins/remotekeyboard/remotekeyboardplugin.cpp +++ b/plugins/remotekeyboard/remotekeyboardplugin.cpp @@ -106,7 +106,7 @@ void RemoteKeyboardPlugin::sendQKeyEvent(const QVariantMap &keyEvent, bool sendA // https://xkbcommon.org/doc/current/group__keysyms.html // Instead, just use QKeySequence to tell us which key that is and move on QString text = keyEvent.value(QStringLiteral("text")).toString(); - if (!text.isEmpty() && !text[0].isLetterOrNumber()) { + if (!text.isEmpty() && !text[0].isLetterOrNumber() && text != QLatin1String(" ")) { text = QKeySequence(key).toString().toLower(); }