ProjectPyramid/PyramidDialog.py

changeset 3
76c45d31d462
parent 2
e691c51ab655
child 6
43d74d535785
diff -r e691c51ab655 -r 76c45d31d462 ProjectPyramid/PyramidDialog.py
--- a/ProjectPyramid/PyramidDialog.py	Tue Aug 28 17:15:21 2012 +0200
+++ b/ProjectPyramid/PyramidDialog.py	Tue Aug 28 19:51:52 2012 +0200
@@ -34,13 +34,13 @@
         """
         Constructor
         
-        @param text text to be shown by the label (string or QString)
+        @param text text to be shown by the label (string)
         @keyparam fixed flag indicating a fixed font should be used (boolean)
         @keyparam linewrap flag indicating to wrap long lines (boolean)
         @keyparam msgSuccess optional string to show upon successful execution
-            (string or QString)
+            (string)
         @keyparam msgError optional string to show upon unsuccessful execution
-            (string or QString)
+            (string)
         @keyparam parent parent widget (QWidget)
         """
         super().__init__(parent)
@@ -92,7 +92,7 @@
         if self.argsLists:
             args = self.argsLists[0][:]
             del self.argsLists[0]
-            self.startProcess(args, self.workingDir)
+            self.startProcess(args[0], args[1:], self.workingDir)
     
     def on_buttonBox_clicked(self, button):
         """
@@ -183,7 +183,7 @@
         # start the first process
         args = self.argsLists[0][:]
         del self.argsLists[0]
-        res = self.startProcess(args, self.workingDir)
+        res = self.startProcess(args[0], args[1:], self.workingDir)
         if not res:
             self.argsLists = []
         

eric ide

mercurial