0
0
mirror of https://github.com/keepassxreboot/keepassxc.git synced 2024-09-20 12:22:16 +02:00

Fix error in X11Funcs code

This commit is contained in:
Jonathan White 2021-09-06 22:36:56 -04:00
parent b37dbe7dd5
commit 470129091a
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -91,7 +91,7 @@ KeySym qtToNativeKeyCode(Qt::Key key)
if (key >= Qt::Key_F1 && key <= Qt::Key_F16) {
return XK_F1 + (key - Qt::Key_F1);
} else if (key >= Qt::Key_Space && key <= Qt::Key_AsciiTilde) {
return key && 0xff;
return key & 0xff;
} else {
return NoSymbol;
}