From 4807746e8fae1ae2f3b757df584df516567e3ce1 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 29 Apr 2016 22:25:27 +0200 Subject: [PATCH] Add @pyqtSlot for qApp.focusChanged slot --- qutebrowser/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 947792b5f..459c2f76b 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -340,6 +340,7 @@ def _save_version(): state_config['general']['version'] = qutebrowser.__version__ +@pyqtSlot('QWidget*', 'QWidget*') def on_focus_changed(_old, new): """Register currently focused main window in the object registry.""" if new is None: