Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py

changeset 96
9624a110667d
parent 55
b5c84934de9c
child 425
ca5e65413fc5
child 792
a13346916170
diff -r 261bc03812fd -r 9624a110667d Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py
--- a/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py	Sun Jan 31 16:15:16 2010 +0000
+++ b/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py	Sun Jan 31 17:11:22 2010 +0000
@@ -7,14 +7,11 @@
 Module implementing the QRegExp wizard dialog.
 """
 
-import sys
 import os
 
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from E5Gui.E5Application import e5App
-
 from .Ui_QRegExpWizardDialog import Ui_QRegExpWizardDialog
 
 from .QRegExpWizardRepeatDialog import QRegExpWizardRepeatDialog
@@ -76,7 +73,6 @@
         if fromEric:
             self.buttonBox.button(QDialogButtonBox.Close).hide()
             self.copyButton = None
-            uitype = e5App().getObject("Project").getProjectType()
         else:
             self.copyButton = \
                 self.buttonBox.addButton(self.trUtf8("Copy"), QDialogButtonBox.ActionRole)
@@ -529,4 +525,4 @@
         self.resize(size)
         
         self.connect(self.cw.buttonBox, SIGNAL("accepted()"), self.close)
-        self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.close)
\ No newline at end of file
+        self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.close)

eric ide

mercurial