77 |
79 |
78 self.setWindowTitle(self.trUtf8('{0} - {1}').format(self.cmdname, self.filename)) |
80 self.setWindowTitle(self.trUtf8('{0} - {1}').format(self.cmdname, self.filename)) |
79 self.process.start(program, args) |
81 self.process.start(program, args) |
80 procStarted = self.process.waitForStarted() |
82 procStarted = self.process.waitForStarted() |
81 if not procStarted: |
83 if not procStarted: |
82 QMessageBox.critical(None, |
84 E5MessageBox.critical(self, |
83 self.trUtf8('Process Generation Error'), |
85 self.trUtf8('Process Generation Error'), |
84 self.trUtf8( |
86 self.trUtf8( |
85 'The process {0} could not be started. ' |
87 'The process {0} could not be started. ' |
86 'Ensure, that it is in the search path.' |
88 'Ensure, that it is in the search path.' |
87 ).format(program)) |
89 ).format(program)) |