eric6/WebBrowser/History/HistoryMenu.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8220
006ee31b4835
diff -r 385f60c94548 -r 7c09585bd960 eric6/WebBrowser/History/HistoryMenu.py
--- a/eric6/WebBrowser/History/HistoryMenu.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/WebBrowser/History/HistoryMenu.py	Sat Apr 10 18:38:27 2021 +0200
@@ -39,7 +39,7 @@
         @param sourceModel reference to the source model (QAbstractItemModel)
         @param parent reference to the parent object (QObject)
         """
-        super(HistoryMenuModel, self).__init__(parent)
+        super().__init__(parent)
         
         self.__treeModel = sourceModel
         
@@ -237,7 +237,7 @@
         @param sourceModel reference to the source model (QAbstractItemModel)
         @param parent reference to the parent object (QObject)
         """
-        super(HistoryMostVisitedMenuModel, self).__init__(parent)
+        super().__init__(parent)
         
         self.setDynamicSortFilter(True)
         self.setSourceModel(sourceModel)

eric ide

mercurial