diff --git a/picard/ui/coverartbox.py b/picard/ui/coverartbox.py index 59440e14f..dc2e44ea7 100644 --- a/picard/ui/coverartbox.py +++ b/picard/ui/coverartbox.py @@ -75,8 +75,8 @@ COVERART_WIDTH = THUMBNAIL_WIDTH - 7 class CoverArtThumbnail(ActiveLabel): image_dropped = QtCore.pyqtSignal(QtCore.QUrl, bytes) - def __init__(self, active=False, drops=False, pixmap_cache=None, *args, **kwargs): - super().__init__(active, drops, *args, **kwargs) + def __init__(self, active=False, drops=False, pixmap_cache=None, parent=None): + super().__init__(active=active, parent=parent) self.data = None self.has_common_images = None self.release = None @@ -377,11 +377,10 @@ HTML_IMG_SRC_REGEX = re.compile(r'