UI/FindFileDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
diff -r 139f182b72f6 -r 8b507a9a2d40 UI/FindFileDialog.py
--- a/UI/FindFileDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/UI/FindFileDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog to search for text in files.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import os
 import re
 
@@ -51,7 +53,7 @@
         @param project reference to the project object
         @param parent parent widget of this dialog (QWidget)
         """
-        super().__init__(parent)
+        super(FindFileDialog, self).__init__(parent)
         self.setupUi(self)
         self.setWindowFlags(Qt.WindowFlags(Qt.Window))
         
@@ -182,7 +184,7 @@
             self.findList.clear()
             self.replacetextCombo.setEditText("")
         
-        super().show()
+        super(FindFileDialog, self).show()
         
     def on_findtextCombo_editTextChanged(self, text):
         """

eric ide

mercurial