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 unneeded load_ui() and maybeClose()

Changeset 8888c9c356a9

Parent 4d6c168a45d8

by Adrian Buehlmann

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

 
68
69
70
71
72
73
74
 
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
 
314
315
316
317
318
319
320
321
322
 
68
69
70
 
71
72
73
 
210
211
212
 
 
 
 
 
 
 
 
 
213
214
215
 
304
305
306
 
 
 
307
308
309
@@ -68,7 +68,6 @@
  self.load_config()     self.setupUi() - self.load_ui()   self.disab_shortcuts = []     self.currentMessage = '' @@ -211,15 +210,6 @@
    self.restoreSettings()   - def load_ui(self): - # we explicitely create a QShortcut so we can disable it - # when a "helper context toolbar" is activated (which can be - # closed hitting the Esc shortcut) - self.esc_shortcut = QtGui.QShortcut(self) - self.esc_shortcut.setKey(Qt.Key_Escape) - connect(self.esc_shortcut, SIGNAL('activated()'), - self.maybeClose) -   def setupUi(self):   SP = QtGui.QSizePolicy   @@ -314,9 +304,6 @@
  self.revisiondetails_layout.addWidget(self.filelist_splitter)   self.hbox.addWidget(self.revisions_splitter)   - def maybeClose(self): - self.close() -   def load_config(self):   cfg = HgConfig(self.repo.ui)   fontstr = cfg.getFont()