221 self.stashList.clear() |
221 self.stashList.clear() |
222 self.__started = True |
222 self.__started = True |
223 self.__getStashEntries() |
223 self.__getStashEntries() |
224 |
224 |
225 @pyqtSlot(int, QProcess.ExitStatus) |
225 @pyqtSlot(int, QProcess.ExitStatus) |
226 def __procFinished(self, exitCode, exitStatus): |
226 def __procFinished(self, _exitCode, _exitStatus): |
227 """ |
227 """ |
228 Private slot connected to the finished signal. |
228 Private slot connected to the finished signal. |
229 |
229 |
230 @param exitCode exit code of the process |
230 @param _exitCode exit code of the process (unused) |
231 @type int |
231 @type int |
232 @param exitStatus exit status of the process |
232 @param _exitStatus exit status of the process (unused) |
233 @type QProcess.ExitStatus |
233 @type QProcess.ExitStatus |
234 """ |
234 """ |
235 self.__processBuffer() |
235 self.__processBuffer() |
236 self.__finish() |
236 self.__finish() |
237 |
237 |
312 self.__finish() |
312 self.__finish() |
313 elif button == self.refreshButton: |
313 elif button == self.refreshButton: |
314 self.on_refreshButton_clicked() |
314 self.on_refreshButton_clicked() |
315 |
315 |
316 @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem) |
316 @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem) |
317 def on_stashList_currentItemChanged(self, current, previous): |
317 def on_stashList_currentItemChanged(self, current, _previous): |
318 """ |
318 """ |
319 Private slot called, when the current item of the stash list changes. |
319 Private slot called, when the current item of the stash list changes. |
320 |
320 |
321 @param current reference to the new current item |
321 @param current reference to the new current item |
322 @type QTreeWidgetItem |
322 @type QTreeWidgetItem |
323 @param previous reference to the old current item |
323 @param _previous reference to the old current item (unused) |
324 @type QTreeWidgetItem |
324 @type QTreeWidgetItem |
325 """ |
325 """ |
326 self.statisticsList.clear() |
326 self.statisticsList.clear() |
327 self.filesLabel.setText("") |
327 self.filesLabel.setText("") |
328 self.insertionsLabel.setText("") |
328 self.insertionsLabel.setText("") |