Helpviewer/History/HistoryManager.py

branch
5_2_x
changeset 1669
0df81d254c64
parent 1509
c0b5e693b0eb
child 2096
63205cd717b5
equal deleted inserted replaced
1668:215353ac1a0c 1669:0df81d254c64
206 206
207 @param url URL to be added (string) 207 @param url URL to be added (string)
208 """ 208 """
209 cleanurl = QUrl(url) 209 cleanurl = QUrl(url)
210 cleanurl.setPassword("") 210 cleanurl.setPassword("")
211 if cleanurl.host() is not None: 211 if cleanurl.host():
212 cleanurl.setHost(cleanurl.host().lower()) 212 cleanurl.setHost(cleanurl.host().lower())
213 itm = HistoryEntry(cleanurl.toString(), QDateTime.currentDateTime()) 213 itm = HistoryEntry(cleanurl.toString(), QDateTime.currentDateTime())
214 self._addHistoryEntry(itm) 214 self._addHistoryEntry(itm)
215 215
216 def updateHistoryEntry(self, url, title): 216 def updateHistoryEntry(self, url, title):

eric ide

mercurial