def set_thumbnail(self, pixmap):
    scaled = pixmap.scaled(self.ICON_SIZE, QtCore.Qt.KeepAspectRatio)
    self.thumbnail.setPixmap(scaled)
def set_thumbnail(self, pixmap):
    scaled = pixmap.scaled(self.ICON_SIZE, QtCore.Qt.KeepAspectRatio)
    self.thumbnail.setPixmap(scaled)