basekeyparser: Remove dead code.
We added this in 836a5e04a5
for the old INI-based
config, but this is not needed anymore as the keys.conf syntax does not allow
this.
This commit is contained in:
parent
3e255eae64
commit
f78fb0c027
@ -326,8 +326,8 @@ class BaseKeyParser(QObject):
|
|||||||
self.special_bindings = {}
|
self.special_bindings = {}
|
||||||
keyconfparser = objreg.get('key-config')
|
keyconfparser = objreg.get('key-config')
|
||||||
for (key, cmd) in keyconfparser.get_bindings_for(modename).items():
|
for (key, cmd) in keyconfparser.get_bindings_for(modename).items():
|
||||||
if cmd:
|
assert cmd
|
||||||
self._parse_key_command(modename, key, cmd)
|
self._parse_key_command(modename, key, cmd)
|
||||||
|
|
||||||
def _parse_key_command(self, modename, key, cmd):
|
def _parse_key_command(self, modename, key, cmd):
|
||||||
"""Parse the keys and their command and store them in the object."""
|
"""Parse the keys and their command and store them in the object."""
|
||||||
|
Loading…
Reference in New Issue
Block a user