Remove module-level modemanager register()

This commit is contained in:
Florian Bruhin 2014-04-23 23:21:29 +02:00
parent 8f44b56923
commit 522a703863

View File

@ -48,16 +48,6 @@ def enter(mode):
manager.enter(mode)
def register(mode, handler):
"""Register a new mode.
Args:
mode: The name of the mode.
handler: Handler for keyPressEvents.
"""
manager.register(mode, handler)
class ModeManager(QObject):
"""Manager for keyboard modes.