WebBrowser/GreaseMonkey/GreaseMonkeyManager.py

branch
QtWebEngine
changeset 4905
09f38f85a3af
parent 4886
b56735d36159
child 4913
e16573640cb8
diff -r ea8f13f76d26 -r 09f38f85a3af WebBrowser/GreaseMonkey/GreaseMonkeyManager.py
--- a/WebBrowser/GreaseMonkey/GreaseMonkeyManager.py	Mon Mar 28 16:34:22 2016 +0200
+++ b/WebBrowser/GreaseMonkey/GreaseMonkeyManager.py	Mon Mar 28 17:04:18 2016 +0200
@@ -21,7 +21,6 @@
 from .GreaseMonkeyUrlInterceptor import GreaseMonkeyUrlInterceptor
 
 
-# TODO: GreaseMonkey: needs testing with Qt 5.6
 class GreaseMonkeyManager(QObject):
     """
     Class implementing the manager for GreaseMonkey scripts.
@@ -81,14 +80,6 @@
         downloader = GreaseMonkeyDownloader(url, self)
         downloader.finished.connect(self.__downloaderFinished)
         self.__downloaders.append(downloader)
-##void GM_Manager::downloadScript(const QUrl &url)
-##{
-##    QMetaObject::invokeMethod(this, "doDownloadScript", Qt::QueuedConnection, Q_ARG(QUrl, url));
-##}
-##void GM_Manager::doDownloadScript(const QUrl &url)
-##{
-##    new GM_Downloader(url, this);
-##}
     
     def __downloaderFinished(self):
         """

eric ide

mercurial