Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.2, 2.0.3, and 2.0.4

stable cmdui: use a custom method to wrap setFont(), which is not a slot (closes #310)

Changeset 0773daf9d19e

Parent 9ef10ca8a41d

by Steve Borho

Changes to one file · Browse files at 0773daf9d19e Showing diff from parent 9ef10ca8a41d Diff from another changeset...

 
332
333
334
335
 
336
337
 
 
 
 
338
339
340
 
332
333
334
 
335
336
337
338
339
340
341
342
343
344
@@ -332,9 +332,13 @@
    def _initfont(self):   tf = qtlib.getfont('fontoutputlog') - tf.changed.connect(self.setFont) + tf.changed.connect(self.forwardFont)   self.setFont(tf.font())   + @pyqtSlot(QFont) + def forwardFont(self, font): + self.setFont(font) +   def _initmarkers(self):   self._markers = {}   for l in ('ui.error', 'control'):