Graphics/UMLSceneSizeDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3145
a9de05d4a22f
diff -r 139f182b72f6 -r 8b507a9a2d40 Graphics/UMLSceneSizeDialog.py
--- a/Graphics/UMLSceneSizeDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Graphics/UMLSceneSizeDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog to set the scene sizes.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtGui import QDialog
 
 from .Ui_UMLSceneSizeDialog import Ui_UMLSceneSizeDialog
@@ -27,7 +29,7 @@
         @param parent parent widget of this dialog (QWidget)
         @param name name of this widget (string)
         """
-        super().__init__(parent)
+        super(UMLSceneSizeDialog, self).__init__(parent)
         if name:
             self.setObjectName(name)
         self.setupUi(self)

eric ide

mercurial