diff options
author | Florian Bruhin <git@the-compiler.org> | 2018-02-27 10:35:19 +0100 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2018-02-27 13:01:41 +0100 |
commit | ba012c6ba894e2916ff1cfc5ba756f3f6da445da (patch) | |
tree | 06bce31b603850228b996fe9e6f740aca83298f4 /qutebrowser/keyinput/modeparsers.py | |
parent | 72e30cc12c21bee189c71aa06baab3436632ebf0 (diff) | |
download | qutebrowser-ba012c6ba894e2916ff1cfc5ba756f3f6da445da.tar.gz qutebrowser-ba012c6ba894e2916ff1cfc5ba756f3f6da445da.zip |
Get rid of BaseKeyparser.Type
Diffstat (limited to 'qutebrowser/keyinput/modeparsers.py')
-rw-r--r-- | qutebrowser/keyinput/modeparsers.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/qutebrowser/keyinput/modeparsers.py b/qutebrowser/keyinput/modeparsers.py index 0b196c23d..89f8f5ddb 100644 --- a/qutebrowser/keyinput/modeparsers.py +++ b/qutebrowser/keyinput/modeparsers.py @@ -232,19 +232,6 @@ class HintKeyParser(keyparser.CommandKeyParser): return match != QKeySequence.NoMatch - # FIXME why is this needed? - # def execute(self, cmdstr, keytype, count=None): - # """Handle a completed keychain.""" - # if not isinstance(keytype, self.Type): - # raise TypeError("Type {} is no Type member!".format(keytype)) - # if keytype == self.Type.chain: - # hintmanager = objreg.get('hintmanager', scope='tab', - # window=self._win_id, tab='current') - # hintmanager.handle_partial_key(cmdstr) - # else: - # # execute as command - # super().execute(cmdstr, keytype, count) - def update_bindings(self, strings, preserve_filter=False): """Update bindings when the hint strings changed. |