From 08f12b089eb6fade689134b8170aa2b81218ddf7 Mon Sep 17 00:00:00 2001 From: mkaay Date: Wed, 30 Dec 2009 12:50:10 +0100 Subject: signal slot stuff --- pyLoadGui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyLoadGui.py') diff --git a/pyLoadGui.py b/pyLoadGui.py index 8fff8e8c9..9e04cc003 100755 --- a/pyLoadGui.py +++ b/pyLoadGui.py @@ -574,10 +574,10 @@ class main(QObject): def checkCaptcha(self): if self.connector.captchaWaiting() and self.mainWindow.captchaDock.isFree(): cid, img, imgType = self.connector.getCaptcha() - self.mainWindow.captchaDock.setTask(cid, str(img), imgType) + self.mainWindow.captchaDock.emit(SIGNAL("setTask"), cid, str(img), imgType) def slotCaptchaDone(self, cid, result): - print self.connector.setCaptchaResult(str(cid), str(result)) + self.connector.setCaptchaResult(str(cid), str(result)) class Loop(QThread): """ -- cgit v1.2.3