eric6/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py

changeset 8234
fcb6b4b96274
parent 8218
7c09585bd960
child 8259
2bbec88047dd
equal deleted inserted replaced
8233:bad78a592cc2 8234:fcb6b4b96274
204 rev = "" 204 rev = ""
205 self.__lastRev = 0 205 self.__lastRev = 0
206 else: 206 else:
207 rev = revision.number 207 rev = revision.number
208 self.__lastRev = revision.number 208 self.__lastRev = revision.number
209 if date == "": 209 dt = formatTime(date) if date else ""
210 dt = ""
211 else:
212 dt = formatTime(date)
213 210
214 itm = QTreeWidgetItem(self.logTree) 211 itm = QTreeWidgetItem(self.logTree)
215 itm.setData(0, Qt.ItemDataRole.DisplayRole, rev) 212 itm.setData(0, Qt.ItemDataRole.DisplayRole, rev)
216 itm.setData(1, Qt.ItemDataRole.DisplayRole, author) 213 itm.setData(1, Qt.ItemDataRole.DisplayRole, author)
217 itm.setData(2, Qt.ItemDataRole.DisplayRole, dt) 214 itm.setData(2, Qt.ItemDataRole.DisplayRole, dt)

eric ide

mercurial