Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py

changeset 96
9624a110667d
parent 13
1af94a91f439
child 425
ca5e65413fc5
child 792
a13346916170
--- a/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py	Sun Jan 31 16:15:16 2010 +0000
+++ b/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py	Sun Jan 31 17:11:22 2010 +0000
@@ -88,11 +88,7 @@
         @param indString string used for indentation (space or tab) (string)
         @return generated code (string)
         """
-        # calculate our indentation level and the indentation string
-        il = indLevel + 1
-        istring = il * indString
-        
-        # now generate the code
+        # generate the code
         code = 'QFontDialog.getFont('
         if not self.eVariable.text():
             if self.font is not None:

eric ide

mercurial