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
wilder/Plasma/6.2
Nicolas Fella 2 years ago committed by Vlad Zahorodnii
parent 957e73a889
commit 06230e43d6
  1. 2
      src/xkb.cpp

@ -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…
Cancel
Save