Make WebHistory parent optional
This commit is contained in:
parent
1d1c71f919
commit
f691439149
@ -102,7 +102,7 @@ class WebHistoryInterface(QWebHistoryInterface):
|
||||
_history: The WebHistory object.
|
||||
"""
|
||||
|
||||
def __init__(self, webhistory, parent):
|
||||
def __init__(self, webhistory, parent=None):
|
||||
super().__init__(parent)
|
||||
self._history = webhistory
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user