PluginManager/PluginRepositoryDialog.py

changeset 464
a2b1d1770ef0
parent 286
652f5159f1c3
child 465
c20e25deb33a
--- a/PluginManager/PluginRepositoryDialog.py	Mon Aug 09 08:41:03 2010 +0200
+++ b/PluginManager/PluginRepositoryDialog.py	Mon Aug 09 15:36:47 2010 +0200
@@ -344,7 +344,7 @@
         self.__downloadCancelled = False
         
         reply = self.__networkManager.get(QNetworkRequest(QUrl(url)))
-        self.connect(reply, SIGNAL("finished()"), self.__downloadFileDone)
+        reply.finished[()].connect(self.__downloadFileDone)
         self.connect(reply, SIGNAL("downloadProgress(qint64, qint64)"), 
             self.__downloadProgress)
         self.__replies.append(reply)
@@ -603,4 +603,4 @@
                 ).format(applPath),
                 self.trUtf8('OK'))
         
-        self.close()
+        self.close()
\ No newline at end of file

eric ide

mercurial