diff --git a/IPython/lib/inputhook.py b/IPython/lib/inputhook.py index baeed8f..4ae2cb3 100644 --- a/IPython/lib/inputhook.py +++ b/IPython/lib/inputhook.py @@ -363,7 +363,7 @@ class Qt4InputHook(InputHookBase): app = QtGui.QApplication(sys.argv) """ from IPython.lib.inputhookqt4 import create_inputhook_qt4 - app, inputhook_qt4 = create_inputhook_qt4(self, app) + app, inputhook_qt4 = create_inputhook_qt4(self.manager, app) self.manager.set_inputhook(inputhook_qt4) if _use_appnope(): from appnope import nope