diff -r a2b1d1770ef0 -r c20e25deb33a PluginManager/PluginInstallDialog.py --- a/PluginManager/PluginInstallDialog.py Mon Aug 09 15:36:47 2010 +0200 +++ b/PluginManager/PluginInstallDialog.py Mon Aug 09 15:49:03 2010 +0200 @@ -527,8 +527,8 @@ self.__layout.addWidget(self.cw) self.resize(size) - self.connect(self.cw.buttonBox, SIGNAL("accepted()"), self.accept) - self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.reject) + self.cw.buttonBox.accepted[()].connect(self.accept) + self.cw.buttonBox.rejected[()].connect(self.reject) def restartNeeded(self): """ @@ -556,5 +556,5 @@ self.setCentralWidget(self.cw) self.resize(size) - self.connect(self.cw.buttonBox, SIGNAL("accepted()"), self.close) - self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.close) + self.cw.buttonBox.accepted[()].connect(self.close) + self.cw.buttonBox.rejected[()].connect(self.close) \ No newline at end of file