mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
Fix error in X11Funcs code
This commit is contained in:
parent
b37dbe7dd5
commit
470129091a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue