eric6/WebBrowser/History/HistoryFilterModel.py

changeset 8218
7c09585bd960
parent 8207
d359172d11be
--- a/eric6/WebBrowser/History/HistoryFilterModel.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/WebBrowser/History/HistoryFilterModel.py	Sat Apr 10 18:38:27 2021 +0200
@@ -67,7 +67,7 @@
         @param sourceModel reference to the source model (QAbstractItemModel)
         @param parent reference to the parent object (QObject)
         """
-        super(HistoryFilterModel, self).__init__(parent)
+        super().__init__(parent)
         
         self.__loaded = False
         self.__filteredRows = []
@@ -125,7 +125,7 @@
                 self.__sourceRowsInserted)
             self.sourceModel().rowsRemoved.disconnect(self.__sourceRowsRemoved)
         
-        super(HistoryFilterModel, self).setSourceModel(sourceModel)
+        super().setSourceModel(sourceModel)
         
         if self.sourceModel() is not None:
             self.__loaded = False

eric ide

mercurial