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

fileview: remove a redunant QVBoxLayout

Changeset 6722cbf6b567

Parent 8f9553e2db57

by Steve Borho

Changes to one file · Browse files at 6722cbf6b567 Showing diff from parent 8f9553e2db57 Diff from another changeset...

 
87
88
89
 
 
 
 
 
 
 
 
 
90
91
 
92
93
 
94
95
96
 
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
 
87
88
89
90
91
92
93
94
95
96
97
98
99
 
100
101
102
103
104
105
106
 
146
147
148
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
150
151
@@ -87,10 +87,20 @@
  framelayout.addLayout(self.topLayout)   framelayout.addLayout(l, 1)   + ll2 = QHBoxLayout() + ll2.setContentsMargins(0, 0, 0, 0) + ll2.setSpacing(0) + l.addLayout(ll2) + + self.blk = blockmatcher.BlockList(self) + ll2.addWidget(self.blk) + self.blk.setVisible(False) +   self._stacked = QStackedWidget() - l.addWidget(self._stacked, 1) + ll2.addWidget(self._stacked, 1)     self.sci = qscilib.Scintilla(self) + self.blk.linkScrollBar(self.sci.verticalScrollBar())   self._stacked.addWidget(self.sci)     self.sci.setFrameStyle(0) @@ -136,21 +146,6 @@
  self._annotate.setAnnotationEnabled(True)   self._stacked.addWidget(self._annotate)   - ll = QVBoxLayout() - ll.setContentsMargins(0, 0, 0, 0) - ll.setSpacing(0) - l.insertLayout(0, ll) - - ll2 = QHBoxLayout() - ll2.setContentsMargins(0, 0, 0, 0) - ll2.setSpacing(0) - ll.addLayout(ll2) - - self.blk = blockmatcher.BlockList(self) - self.blk.linkScrollBar(self.sci.verticalScrollBar()) - ll2.addWidget(self.blk) - self.blk.setVisible(False) -   self._ctx = None   self._filename = None   self._status = None