def run(self): image_data = self.ca.getPage(self.page_num) if self.abandoned: return if image_data is not None: img = getQImageFromData(image_data) if self.abandoned: return self.loadComplete.emit(img)
def coverRemoteFetchComplete(self, image_data, issue_id): img = getQImageFromData(image_data) self.current_pixmap = QPixmap(img) self.setDisplayPixmap(0, 0)