Add @pyqtSlot for qApp.focusChanged slot

This commit is contained in:
Florian Bruhin 2016-04-29 22:25:27 +02:00
parent 2d5ffbfd02
commit 4807746e8f

View File

@ -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: