WebBrowser/WebBrowserPage.py

branch
maintenance
changeset 6206
a02b03b7bfec
parent 6176
8927e74527bc
child 6233
a64b986abb54
diff -r ad8ed15f90e5 -r a02b03b7bfec WebBrowser/WebBrowserPage.py
--- a/WebBrowser/WebBrowserPage.py	Sun Mar 04 14:55:23 2018 +0100
+++ b/WebBrowser/WebBrowserPage.py	Mon Apr 02 12:04:18 2018 +0200
@@ -86,9 +86,6 @@
         self.__printer = None
         self.__badSite = False
         
-        if qVersionTuple()[0:2] == (5, 10):
-            self.loadProgress.connect(self.__loadProgressSlot)
-        
         # Workaround for changing webchannel world inside
         # acceptNavigationRequest not working
         self.__channelUrl = QUrl()
@@ -105,18 +102,6 @@
         """
         self.__setupWebChannelForUrl(self.__channelUrl)
     
-    @pyqtSlot(int)
-    def __loadProgressSlot(self, progress):
-        """
-        Private slot to implement a workaround for the loadFinished signal
-        not working properly in Qt 5.10.0.
-        
-        @param progress load progress in percent
-        @type int
-        """
-        if progress == 100:
-            self.loadFinished.emit(True)
-    
     def acceptNavigationRequest(self, url, type_, isMainFrame):
         """
         Public method to determine, if a request may be accepted.

eric ide

mercurial