387 while not stream.atEnd(): |
387 while not stream.atEnd(): |
388 ver = stream.readUInt32() |
388 ver = stream.readUInt32() |
389 if ver != HISTORY_VERSION: |
389 if ver != HISTORY_VERSION: |
390 continue |
390 continue |
391 itm = HistoryEntry() |
391 itm = HistoryEntry() |
392 itm.url = stream.readString().decode() |
392 itm.url = Utilities.readStringFromStream(stream) |
393 stream >> itm.dateTime |
393 stream >> itm.dateTime |
394 itm.title = stream.readString().decode() |
394 itm.title = Utilities.readStringFromStream(stream) |
395 |
395 |
396 if not itm.dateTime.isValid(): |
396 if not itm.dateTime.isValid(): |
397 continue |
397 continue |
398 |
398 |
399 if itm == lastInsertedItem: |
399 if itm == lastInsertedItem: |