mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-26 22:36:59 -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) {
|
if (key >= Qt::Key_F1 && key <= Qt::Key_F16) {
|
||||||
return XK_F1 + (key - Qt::Key_F1);
|
return XK_F1 + (key - Qt::Key_F1);
|
||||||
} else if (key >= Qt::Key_Space && key <= Qt::Key_AsciiTilde) {
|
} else if (key >= Qt::Key_Space && key <= Qt::Key_AsciiTilde) {
|
||||||
return key && 0xff;
|
return key & 0xff;
|
||||||
} else {
|
} else {
|
||||||
return NoSymbol;
|
return NoSymbol;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user