Changeset 6f34e4bb60f1…
Parent 0b1aaf7b67a6…
by
Changes to one file · Browse files at 6f34e4bb60f1 Showing diff from parent 0b1aaf7b67a6 Diff from another changeset...
@@ -272,7 +272,7 @@
self.thread = thread.CmdThread(cmdline, self.display, self.parent())
self.thread.started.connect(self.command_started)
- self.thread.commandFinished.connect(self.command_finished)
+ self.thread.commandFinished.connect(self.threadFinished)
self.thread.outputReceived.connect(self.output)
self.thread.progressReceived.connect(self.progress)
@@ -299,7 +299,7 @@ self.commandStarted.emit()
@pyqtSlot(int)
- def command_finished(self, ret):
+ def threadFinished(self, ret):
if self.stbar:
if ret is None:
self.stbar.clear()
@@ -320,14 +320,6 @@
self.commandFinished.emit(ret)
- @pyqtSlot()
- def command_canceling(self):
- if self.stbar:
- self.stbar.showMessage(_('Canceling...'))
- self.stbar.clear()
-
- self.commandCanceling.emit()
-
class LogWidget(QsciScintilla):
"""Output log viewer"""
|
Loading...