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

repowidget: eliminate Form param of setupUi()

Changeset a92ad7ea8f33

Parent 7bb6602fc001

by Adrian Buehlmann

Changes to one file · Browse files at a92ad7ea8f33 Showing diff from parent 7bb6602fc001 Diff from another changeset...

 
67
68
69
70
 
71
72
73
 
221
222
223
224
225
226
227
 
 
 
 
228
229
230
231
 
232
233
234
 
313
314
315
316
 
317
318
319
 
67
68
69
 
70
71
72
73
 
221
222
223
 
 
 
 
224
225
226
227
228
229
230
 
231
232
233
234
 
313
314
315
 
316
317
318
319
@@ -67,7 +67,7 @@
    self.load_config()   - self.setupUi(self) + self.setupUi()   self.load_ui()   self.disab_shortcuts = []   @@ -221,14 +221,14 @@
  self.maybeClose)   self._quickbars = []   - def setupUi(self, Form): - Form.setObjectName("Form") - Form.resize(510, 506) - self.horizontalLayout = QtGui.QHBoxLayout(Form) + def setupUi(self): + self.setObjectName("Form") + self.resize(510, 506) + self.horizontalLayout = QtGui.QHBoxLayout(self)   self.horizontalLayout.setSpacing(0)   self.horizontalLayout.setMargin(0)   self.horizontalLayout.setObjectName("horizontalLayout") - self.revisions_splitter = QtGui.QSplitter(Form) + self.revisions_splitter = QtGui.QSplitter(self)   self.revisions_splitter.setOrientation(QtCore.Qt.Vertical)   self.revisions_splitter.setObjectName("revisions_splitter")   self.repoview = HgRepoView(self.revisions_splitter) @@ -313,7 +313,7 @@
  self.verticalLayout_2.addWidget(self.filelist_splitter)   self.horizontalLayout.addWidget(self.revisions_splitter)   - QtCore.QMetaObject.connectSlotsByName(Form) + QtCore.QMetaObject.connectSlotsByName(self)     def maybeClose(self):   for w in self._quickbars: