summaryrefslogtreecommitdiffstats
path: root/module/gui
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 /module/gui
parentshow captchas in gui, SerienjunkiesOrg plugin (diff)
downloadpyload-08f12b089eb6fade689134b8170aa2b81218ddf7.tar.xz
signal slot stuff
Diffstat (limited to 'module/gui')
-rw-r--r--module/gui/CaptchaDock.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/gui/CaptchaDock.py b/module/gui/CaptchaDock.py
index 193bac6fa..3dc9441a4 100644
--- a/module/gui/CaptchaDock.py
+++ b/module/gui/CaptchaDock.py
@@ -31,6 +31,7 @@ class CaptchaDock(QDockWidget):
self.hide()
self.processing = False
self.currentID = None
+ self.connect(self, SIGNAL("setTask"), self.setTask)
def isFree(self):
return not self.processing
@@ -54,6 +55,7 @@ class CaptchaDockWidget(QWidget):
okayButton = QPushButton("OK")
cancelButton = QPushButton("Cancel")
+ layout.addStretch()
layout.addWidget(imgLabel)
layout.addWidget(captchaInput)
layout.addWidget(okayButton)