create_inputhook_qt4 wants an InputHookManager object as its first argument, not an InputHookBase.  However, we get away with supplying the wrong object until someone hits ctrl-c.  Passing the right object makes graceful ctrl-c event loop integration work properly, rather than causing IPython to exit.  This seems like a straightforward fix, but I may be missing something.
create_inputhook_qt4 wants an InputHookManager object as its first
argument, not an InputHookBase.  However, we get away with supplying
the wrong object until someone hits ctrl-c.  Passing the right object
makes graceful ctrl-c event loop integration work properly, rather than
causing IPython to exit.  This seems like a straightforward fix, but I
may be missing something.

ipython/ipython,ipython/ipython