From 1d88bb7c9ca68a7c6c019f71971ee7d44629e384 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 16 Jan 2014 15:55:52 +0100 Subject: [PATCH] Connect signals properly --- qutebrowser/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qutebrowser/app.py b/qutebrowser/app.py index c82b29c61..c9bcee6eb 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -9,9 +9,9 @@ def main(): mw = MainWindow() cp = cmds.CommandParser() mw.status.cmd.got_cmd.connect(cp.parse) - cmds.cmd_dict['openurl'].connect(mw.tabs.openurl) - cmds.cmd_dict['tabopen'].connect(mw.tabs.tabopen) - cmds.cmd_dict['quit'].connect(QApplication.closeAllWindows) # FIXME + cmds.cmd_dict['open'].signal.connect(mw.tabs.openurl) + cmds.cmd_dict['tabopen'].signal.connect(mw.tabs.tabopen) + cmds.cmd_dict['quit'].signal.connect(QApplication.closeAllWindows) # FIXME mw.show() sys.exit(app.exec_())