diff -r 385f60c94548 -r 7c09585bd960 eric6/WebBrowser/SafeBrowsing/SafeBrowsingLabel.py --- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingLabel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingLabel.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SafeBrowsingLabel, self).__init__(parent) + super().__init__(parent) self.setFocusPolicy(Qt.FocusPolicy.NoFocus) self.setCursor(Qt.CursorShape.PointingHandCursor) @@ -49,7 +49,7 @@ if evt.button() == Qt.MouseButton.LeftButton: self.clicked.emit(evt.globalPos()) else: - super(SafeBrowsingLabel, self).mouseReleaseEvent(evt) + super().mouseReleaseEvent(evt) def mouseDoubleClickEvent(self, evt): """ @@ -60,7 +60,7 @@ if evt.button() == Qt.MouseButton.LeftButton: self.clicked.emit(evt.globalPos()) else: - super(SafeBrowsingLabel, self).mouseDoubleClickEvent(evt) + super().mouseDoubleClickEvent(evt) @pyqtSlot() def __updateLabel(self):