Project/CreateDialogCodeDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2492
91ab554e3465
child 2791
a9577f248f04
--- a/Project/CreateDialogCodeDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Project/CreateDialogCodeDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog to generate code for a Qt4/Qt5 dialog.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import os
 
 from PyQt4.QtCore import QMetaObject, QByteArray, QRegExp, Qt, pyqtSlot, QMetaMethod, \
@@ -44,7 +46,7 @@
         @param project reference to the project object
         @param parent parent widget if the dialog (QWidget)
         """
-        super().__init__(parent)
+        super(CreateDialogCodeDialog, self).__init__(parent)
         self.setupUi(self)
         
         self.okButton = self.buttonBox.button(QDialogButtonBox.Ok)

eric ide

mercurial