--- a/eric7/WebBrowser/WebBrowserPage.py Sat Oct 16 20:36:57 2021 +0200 +++ b/eric7/WebBrowser/WebBrowserPage.py Sat Oct 16 20:37:32 2021 +0200 @@ -432,11 +432,7 @@ ) if worldId != self.__channelWorldId: self.__channelWorldId = worldId - try: - self.setWebChannel(channel, self.__channelWorldId) - except TypeError: - # pre Qt 5.7.0 - self.setWebChannel(channel) + self.setWebChannel(channel, self.__channelWorldId) def certificateError(self, error): """