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:
Nicolas Fella 2024-01-25 00:17:11 +01:00 committed by Vlad Zahorodnii
parent 957e73a889
commit 06230e43d6

View file

@ -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: {