summaryrefslogtreecommitdiffstats
path: root/pyLoadGui.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-12-30 12:50:10 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-12-30 12:50:10 +0100
commit08f12b089eb6fade689134b8170aa2b81218ddf7 (patch)
tree6e04244a9d86dd0097e6129883e7acaca6b42967 /pyLoadGui.py
parentshow captchas in gui, SerienjunkiesOrg plugin (diff)
downloadpyload-08f12b089eb6fade689134b8170aa2b81218ddf7.tar.xz
signal slot stuff
Diffstat (limited to 'pyLoadGui.py')
-rwxr-xr-xpyLoadGui.py4
1 files changed, 2 insertions, 2 deletions
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):
"""