Make WebHistory parent optional

This commit is contained in:
Florian Bruhin 2016-06-09 21:13:06 +02:00
parent 1d1c71f919
commit f691439149

View File

@ -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