Fix history deserializing

This commit is contained in:
Florian Bruhin 2016-06-14 15:26:08 +02:00
parent 67ffa67968
commit 7319ced0bc
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ class WebEngineHistory(tab.AbstractHistory):
return qtutils.serialize(self.history) return qtutils.serialize(self.history)
def deserialize(self, data): def deserialize(self, data):
return qtutils.deserialize(self.history) return qtutils.deserialize(data, self.history)
def load_items(self, items): def load_items(self, items):
# TODO # TODO

View File

@ -51,7 +51,7 @@ class WebViewHistory(tab.AbstractHistory):
return qtutils.serialize(self.history) return qtutils.serialize(self.history)
def deserialize(self, data): def deserialize(self, data):
return qtutils.deserialize(self.history) return qtutils.deserialize(data, self.history)
def load_items(self, items): def load_items(self, items):
stream, _data, user_data = tabhistory.serialize(items) stream, _data, user_data = tabhistory.serialize(items)