mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fix error in X11Funcs code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user