E5Gui/E5ZoomWidget.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2334
fc69ad77e18a
child 3057
10516539f238
--- a/E5Gui/E5ZoomWidget.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/E5Gui/E5ZoomWidget.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a zoom widget for the status bar.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import pyqtSlot, pyqtSignal
 from PyQt4.QtGui import QWidget
 
@@ -28,7 +30,7 @@
         @param resetPix pixmap for the zoom reset button (QPixmap)
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(E5ZoomWidget, self).__init__(parent)
         self.setupUi(self)
         
         self.zoomOutLabel.setPixmap(outPix.scaled(16, 16))

eric ide

mercurial