Helpviewer/History/HistoryMenu.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2403
e3d7a861547c
child 3057
10516539f238
diff -r 139f182b72f6 -r 8b507a9a2d40 Helpviewer/History/HistoryMenu.py
--- a/Helpviewer/History/HistoryMenu.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Helpviewer/History/HistoryMenu.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing the history menu.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import sys
 
 from PyQt4.QtCore import pyqtSignal, Qt, QMimeData, QUrl, QModelIndex
@@ -35,7 +37,7 @@
         @param sourceModel reference to the source model (QAbstractItemModel)
         @param parent reference to the parent object (QObject)
         """
-        super().__init__(parent)
+        super(HistoryMenuModel, self).__init__(parent)
         
         self.__treeModel = sourceModel
         
@@ -209,7 +211,7 @@
         @param sourceModel reference to the source model (QAbstractItemModel)
         @param parent reference to the parent object (QObject)
         """
-        super().__init__(parent)
+        super(HistoryMostVisitedMenuModel, self).__init__(parent)
         
         self.setDynamicSortFilter(True)
         self.setSourceModel(sourceModel)

eric ide

mercurial