eric6/WebBrowser/History/HistoryTreeModel.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7781
607a6098cb44
equal deleted inserted replaced
7532:1358e9d67a1c 7533:88261c96484b
69 "%n item(s)", "", 69 "%n item(s)", "",
70 self.rowCount(index.sibling(index.row(), 0))) 70 self.rowCount(index.sibling(index.row(), 0)))
71 71
72 elif role == Qt.DecorationRole: 72 elif role == Qt.DecorationRole:
73 if index.column() == 0 and not index.parent().isValid(): 73 if index.column() == 0 and not index.parent().isValid():
74 return UI.PixmapCache.getIcon("history.png") 74 return UI.PixmapCache.getIcon("history")
75 75
76 elif role == HistoryModel.DateRole: 76 elif role == HistoryModel.DateRole:
77 if index.column() == 0 and index.internalId() == 0: 77 if index.column() == 0 and index.internalId() == 0:
78 offset = self.__sourceDateRow(index.row()) 78 offset = self.__sourceDateRow(index.row())
79 idx = self.sourceModel().index(offset, 0) 79 idx = self.sourceModel().index(offset, 0)

eric ide

mercurial