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

stable status: always provide a parent to WctxModel

Changeset df658fdcdf9c

Parent ad4441cc4af1

by Steve Borho

Changes to one file · Browse files at df658fdcdf9c Showing diff from parent ad4441cc4af1 Diff from another changeset...

 
251
252
253
254
 
255
256
257
 
464
465
466
467
 
468
469
470
 
251
252
253
 
254
255
256
257
 
464
465
466
 
467
468
469
470
@@ -251,7 +251,7 @@
  qtlib.WarningMsgBox(_('No appropriate files'),   _('No files found for this operation'),   parent=self) - tm = WctxModel(self.wctx, self.ms, self.opts, checked) + tm = WctxModel(self.wctx, self.ms, self.opts, checked, self)   self.tv.setModel(tm)   self.tv.setSortingEnabled(True)   self.tv.setColumnHidden(COL_PATH, self.isMerge()) @@ -464,7 +464,7 @@
 class WctxModel(QAbstractTableModel):   checkToggled = pyqtSignal()   - def __init__(self, wctx, ms, opts, checked, parent=None): + def __init__(self, wctx, ms, opts, checked, parent):   QAbstractTableModel.__init__(self, parent)   rows = []   nchecked = {}