Thu, 25 Jan 2018 16:39:06 +0100
Fixed an issue with the newly supported QWebEngineSettings attributes.
--- a/Preferences/__init__.py Thu Jan 25 13:42:27 2018 +0100 +++ b/Preferences/__init__.py Thu Jan 25 16:39:06 2018 +0100 @@ -3006,7 +3006,8 @@ "BookmarksToolBarVisible", "StatusBarVisible", "SessionAutoSave", "LoadTabOnActivation", "SafeBrowsingEnabled", "SafeBrowsingFilterPlatform", - "SafeBrowsingAutoUpdate", + "SafeBrowsingAutoUpdate", "AllowGeolocationOnInsecureOrigins", + "AllowWindowActivationFromJavaScript", "ShowScrollBars", ]: return toBool(prefClass.settings.value( "WebBrowser/" + key, prefClass.webBrowserDefaults[key]))
--- a/WebBrowser/Download/DownloadItem.py Thu Jan 25 13:42:27 2018 +0100 +++ b/WebBrowser/Download/DownloadItem.py Thu Jan 25 16:39:06 2018 +0100 @@ -319,6 +319,7 @@ name += '.' + endName return name, origName + # TODO: duplicate code to openFile() def __open(self): """ Private slot to open the downloaded file. @@ -578,6 +579,7 @@ """ return QFileInfo(self.__fileName).absoluteFilePath() + # TODO: change from tuple to dict def getData(self): """ Public method to get the relevant download data. @@ -591,6 +593,7 @@ self.downloadedSuccessfully(), self.__pageUrl, self.__downloadedDateTime) + # TODO: change from tuple to dict def setData(self, data): """ Public method to set the relevant download data.