PluginManager/PluginRepositoryDialog.py

changeset 3345
071afe8be2a1
parent 3246
4cd58a0d6c28
child 3484
645c12de6b0c
--- a/PluginManager/PluginRepositoryDialog.py	Fri Mar 07 19:20:36 2014 +0100
+++ b/PluginManager/PluginRepositoryDialog.py	Sat Mar 08 20:09:41 2014 +0100
@@ -410,7 +410,7 @@
         request.setAttribute(QNetworkRequest.CacheLoadControlAttribute,
                              QNetworkRequest.AlwaysNetwork)
         reply = self.__networkManager.get(request)
-        reply.finished[()].connect(self.__downloadFileDone)
+        reply.finished.connect(self.__downloadFileDone)
         reply.downloadProgress.connect(self.__downloadProgress)
         self.__replies.append(reply)
     
@@ -744,8 +744,8 @@
         self.resize(size)
         self.setWindowTitle(self.cw.windowTitle())
         
-        self.cw.buttonBox.accepted[()].connect(self.accept)
-        self.cw.buttonBox.rejected[()].connect(self.reject)
+        self.cw.buttonBox.accepted.connect(self.accept)
+        self.cw.buttonBox.rejected.connect(self.reject)
         self.cw.closeAndInstall.connect(self.__closeAndInstall)
         
     def __closeAndInstall(self):
@@ -783,8 +783,8 @@
         self.setStyle(Preferences.getUI("Style"),
                       Preferences.getUI("StyleSheet"))
         
-        self.cw.buttonBox.accepted[()].connect(self.close)
-        self.cw.buttonBox.rejected[()].connect(self.close)
+        self.cw.buttonBox.accepted.connect(self.close)
+        self.cw.buttonBox.rejected.connect(self.close)
         self.cw.closeAndInstall.connect(self.__startPluginInstall)
     
     def __startPluginInstall(self):

eric ide

mercurial