diff options
-rwxr-xr-x | 9kwpyqt.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,12 +58,12 @@ class ExtendedQLabel(QLabel): self.captchaType = False self.setPixmap(self.imageR) - def removeImage(self, image): + def removeImage(self): self.image = False self.imageR = False self.imageB = False self.captchaType = False - QLabel.setPixmap(QPixmap()) + self.setPixmap(QPixmap()) def resizeEvent(self, evt=None): QLabel.resizeEvent(self, evt) |