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:
Florian Bruhin 2015-08-26 20:31:17 +02:00
parent 3e255eae64
commit f78fb0c027

View File

@ -326,7 +326,7 @@ class BaseKeyParser(QObject):
self.special_bindings = {}
keyconfparser = objreg.get('key-config')
for (key, cmd) in keyconfparser.get_bindings_for(modename).items():
if cmd:
assert cmd
self._parse_key_command(modename, key, cmd)
def _parse_key_command(self, modename, key, cmd):