Fix remote keyboard sending "space" when pressing space
I believe this was broken in https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/543 BUG: 473956
This commit is contained in:
parent
04ae5c67f7
commit
89548932a6
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue