From 152e4e2934173feeffe201602771cdacf6f7c5af Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Thu, 9 Sep 2010 20:31:09 +0200 Subject: [PATCH] fix signal --- sface/sfiprocess.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sface/sfiprocess.py b/sface/sfiprocess.py index 9fd56a9..d39bd75 100644 --- a/sface/sfiprocess.py +++ b/sface/sfiprocess.py @@ -25,9 +25,11 @@ class SfiProcess(QObject): self.exe = find_executable("sfi.py") self.process = QProcess() - self.finished = pyqtSignal() self.connect(self.process, SIGNAL("finished(int, QProcess::ExitStatus)"), - self.finished) + self.processFinished) + + def processFinished(self): + self.emit(SIGNAL("finished()")) def __getRSpec(self, mgr): slice = config.getSlice() -- 2.43.0