--- a/Helpviewer/ClosedTabsManager.py Wed Mar 22 18:56:25 2017 +0100 +++ b/Helpviewer/ClosedTabsManager.py Wed Mar 22 19:59:45 2017 +0100 @@ -17,7 +17,7 @@ """ Class implementing a structure to store data about a closed tab. """ - def __init__(self, url=QUrl(), title="", position=-1): + def __init__(self, url=None, title="", position=-1): """ Constructor @@ -25,7 +25,7 @@ @param title title of the closed tab (string) @param position index of the closed tab (integer) """ - self.url = url + self.url = QUrl() if url is None else QUrl(url) self.title = title self.position = position