Helpviewer/History/HistoryManager.py

changeset 1670
6fd889391d2c
parent 1626
a77c8ea8582c
child 1693
9bb872e26a33
equal deleted inserted replaced
1667:02ad912c8645 1670:6fd889391d2c
210 210
211 @param url URL to be added (string) 211 @param url URL to be added (string)
212 """ 212 """
213 cleanurl = QUrl(url) 213 cleanurl = QUrl(url)
214 cleanurl.setPassword("") 214 cleanurl.setPassword("")
215 if cleanurl.host() is not None: 215 if cleanurl.host():
216 cleanurl.setHost(cleanurl.host().lower()) 216 cleanurl.setHost(cleanurl.host().lower())
217 itm = HistoryEntry(cleanurl.toString(), QDateTime.currentDateTime()) 217 itm = HistoryEntry(cleanurl.toString(), QDateTime.currentDateTime())
218 self._addHistoryEntry(itm) 218 self._addHistoryEntry(itm)
219 219
220 def updateHistoryEntry(self, url, title): 220 def updateHistoryEntry(self, url, title):

eric ide

mercurial