eric6/WebBrowser/UrlBar/FavIconLabel.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
--- a/eric6/WebBrowser/UrlBar/FavIconLabel.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/WebBrowser/UrlBar/FavIconLabel.py	Sat Apr 10 18:38:27 2021 +0200
@@ -22,7 +22,7 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super(FavIconLabel, self).__init__(parent)
+        super().__init__(parent)
         
         self.__browser = None
         self.__dragStartPos = QPoint()
@@ -67,7 +67,7 @@
         """
         if evt.button() == Qt.MouseButton.LeftButton:
             self.__dragStartPos = evt.pos()
-        super(FavIconLabel, self).mousePressEvent(evt)
+        super().mousePressEvent(evt)
     
     def mouseReleaseEvent(self, evt):
         """
@@ -77,7 +77,7 @@
         """
         if evt.button() == Qt.MouseButton.LeftButton:
             self.__showPopup(evt.globalPos())
-        super(FavIconLabel, self).mouseReleaseEvent(evt)
+        super().mouseReleaseEvent(evt)
     
     def mouseMoveEvent(self, evt):
         """

eric ide

mercurial