mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-26 06:26:11 -05:00
Fix error in X11Funcs code
This commit is contained in:
parent
b37dbe7dd5
commit
470129091a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user