Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

repowidget: remove unused self._quickbars

nothing was added to self._quickbars, so we can assume it stays always
empty. And then we can simply remove it.

Changeset 4d6c168a45d8

Parent afeb6cabdb70

by Adrian Buehlmann

Changes to one file · Browse files at 4d6c168a45d8 Showing diff from parent afeb6cabdb70 Diff from another changeset...

 
219
220
221
222
223
224
225
 
316
317
318
319
320
321
322
323
324
 
325
326
327
 
219
220
221
 
222
223
224
 
315
316
317
 
 
 
 
 
 
318
319
320
321
@@ -219,7 +219,6 @@
  self.esc_shortcut.setKey(Qt.Key_Escape)   connect(self.esc_shortcut, SIGNAL('activated()'),   self.maybeClose) - self._quickbars = []     def setupUi(self):   SP = QtGui.QSizePolicy @@ -316,12 +315,7 @@
  self.hbox.addWidget(self.revisions_splitter)     def maybeClose(self): - for w in self._quickbars: - if w.isVisible(): - w.cancel() - break - else: - self.close() + self.close()     def load_config(self):   cfg = HgConfig(self.repo.ui)