From 795a6937acf7a5f2ea81037739e40fc1920690e6 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 13 Oct 2014 20:37:09 +0200 Subject: [PATCH] Add missing @pyqtSlot decorators. --- qutebrowser/utils/ipc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qutebrowser/utils/ipc.py b/qutebrowser/utils/ipc.py index ffe383c16..1c2c3f197 100644 --- a/qutebrowser/utils/ipc.py +++ b/qutebrowser/utils/ipc.py @@ -82,11 +82,13 @@ class IPCServer(QObject): socket.error.connect(self.on_error) self._socket = socket + @pyqtSlot() def on_disconnected(self): """Clean up socket when the client disconnected.""" self._socket.deleteLater() self._socket = None + @pyqtSlot() def on_ready_read(self): """Read json data from the client.""" while self._socket.canReadLine():