Remove wrong handling of Qt::KeypadModifier
Qt::KeypadModifier doesn't actually map to any XKB modifier The XKB_MOD_NAME_NUM modifier is (semi-)unrelated
This commit is contained in:
parent
957e73a889
commit
06230e43d6
1 changed files with 0 additions and 2 deletions
|
@ -690,7 +690,6 @@ void Xkb::setModifierLatched(Qt::KeyboardModifier mod, bool latched)
|
|||
break;
|
||||
}
|
||||
case Qt::KeypadModifier: {
|
||||
modifier = m_numModifier;
|
||||
break;
|
||||
}
|
||||
case Qt::KeyboardModifierMask: {
|
||||
|
@ -738,7 +737,6 @@ void Xkb::setModifierLocked(Qt::KeyboardModifier mod, bool locked)
|
|||
break;
|
||||
}
|
||||
case Qt::KeypadModifier: {
|
||||
modifier = m_numModifier;
|
||||
break;
|
||||
}
|
||||
case Qt::KeyboardModifierMask: {
|
||||
|
|
Loading…
Reference in a new issue