Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.3, 2.0, and 2.0.1

stable cmdui: if cmdui.Core has an outputLog, connect it to self.output

This prevents the need to connect each thread's outputReceived signal to the
log widget, and seamlessly handles subprocess based commands

Changeset cccdfec18d58

Parent 5d191b8321bb

by Steve Borho

Changes to one file · Browse files at cccdfec18d58 Showing diff from parent 5d191b8321bb Diff from another changeset...

 
155
156
157
 
158
159
160
 
275
276
277
278
279
280
281
282
283
 
155
156
157
158
159
160
161
 
276
277
278
 
 
 
279
280
281
@@ -155,6 +155,7 @@
  if useInternal:   self.outputLog = LogWidget()   self.outputLog.installEventFilter(qscilib.KeyPressInterceptor(self)) + self.output.connect(self.outputLog.appendLog)     ### Public Methods ###   @@ -275,9 +276,6 @@
    self.thread.outputReceived.connect(self.output)   self.thread.progressReceived.connect(self.progress) - - if self.internallog: - self.thread.outputReceived.connect(self.outputLog.appendLog)   if self.stbar:   self.thread.progressReceived.connect(self.stbar.progress)