--- a/src/eric7/WebBrowser/StatusBar/JavaScriptIcon.py Tue Apr 16 15:47:11 2024 +0200 +++ b/src/eric7/WebBrowser/StatusBar/JavaScriptIcon.py Sat Apr 20 18:01:36 2024 +0200 @@ -148,15 +148,13 @@ self._window.preferencesChanged() QTimer.singleShot(500, self.__updateIcon) - def __navigationRequestAccepted( - self, url, navigationType, isMainFrame, page # noqa: U100 - ): + def __navigationRequestAccepted(self, url, _navigationType, isMainFrame, page): """ Private method to handle the navigationRequestAccepted signal. @param url URL being loaded @type QUrl - @param navigationType type of navigation request + @param _navigationType type of navigation request (unused) @type QWebEnginePage.NavigationType @param isMainFrame flag indicating a navigation request of the main frame