summaryrefslogtreecommitdiff
path: root/qutebrowser/keyinput/keyutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/keyinput/keyutils.py')
-rw-r--r--qutebrowser/keyinput/keyutils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/qutebrowser/keyinput/keyutils.py b/qutebrowser/keyinput/keyutils.py
index a5ffd026a..0052cbb76 100644
--- a/qutebrowser/keyinput/keyutils.py
+++ b/qutebrowser/keyinput/keyutils.py
@@ -352,8 +352,7 @@ def _unset_modifier_bits(
"""
if machinery.IS_QT5:
return cast(_ModifierType, modifiers & ~mask)
- return Qt.KeyboardModifier( # type: ignore[unreachable]
- modifiers.value & ~mask.value)
+ return Qt.KeyboardModifier(modifiers.value & ~mask.value)
@dataclasses.dataclass(frozen=True, order=True)