141 self.process.start('hg', args) |
141 self.process.start('hg', args) |
142 procStarted = self.process.waitForStarted(5000) |
142 procStarted = self.process.waitForStarted(5000) |
143 if not procStarted: |
143 if not procStarted: |
144 self.inputGroup.setEnabled(False) |
144 self.inputGroup.setEnabled(False) |
145 self.inputGroup.hide() |
145 self.inputGroup.hide() |
146 E5MessageBox.critical(self, |
146 E5MessageBox.critical( |
|
147 self, |
147 self.trUtf8('Process Generation Error'), |
148 self.trUtf8('Process Generation Error'), |
148 self.trUtf8( |
149 self.trUtf8( |
149 'The process {0} could not be started. ' |
150 'The process {0} could not be started. ' |
150 'Ensure, that it is in the search path.' |
151 'Ensure, that it is in the search path.' |
151 ).format('hg')) |
152 ).format('hg')) |
206 |
207 |
207 def __resort(self): |
208 def __resort(self): |
208 """ |
209 """ |
209 Private method to resort the tree. |
210 Private method to resort the tree. |
210 """ |
211 """ |
211 self.bookmarksList.sortItems(self.bookmarksList.sortColumn(), |
212 self.bookmarksList.sortItems( |
|
213 self.bookmarksList.sortColumn(), |
212 self.bookmarksList.header().sortIndicatorOrder()) |
214 self.bookmarksList.header().sortIndicatorOrder()) |
213 |
215 |
214 def __resizeColumns(self): |
216 def __resizeColumns(self): |
215 """ |
217 """ |
216 Private method to resize the list columns. |
218 Private method to resize the list columns. |