Fix history deserializing
This commit is contained in:
parent
67ffa67968
commit
7319ced0bc
@ -55,7 +55,7 @@ class WebEngineHistory(tab.AbstractHistory):
|
||||
return qtutils.serialize(self.history)
|
||||
|
||||
def deserialize(self, data):
|
||||
return qtutils.deserialize(self.history)
|
||||
return qtutils.deserialize(data, self.history)
|
||||
|
||||
def load_items(self, items):
|
||||
# TODO
|
||||
|
@ -51,7 +51,7 @@ class WebViewHistory(tab.AbstractHistory):
|
||||
return qtutils.serialize(self.history)
|
||||
|
||||
def deserialize(self, data):
|
||||
return qtutils.deserialize(self.history)
|
||||
return qtutils.deserialize(data, self.history)
|
||||
|
||||
def load_items(self, items):
|
||||
stream, _data, user_data = tabhistory.serialize(items)
|
||||
|
Loading…
Reference in New Issue
Block a user