--- a/PluginManager/PluginUninstallDialog.py Mon Aug 09 15:36:47 2010 +0200 +++ b/PluginManager/PluginUninstallDialog.py Mon Aug 09 15:49:03 2010 +0200 @@ -180,8 +180,8 @@ self.__layout.addWidget(self.cw) self.resize(size) - self.connect(self.cw, SIGNAL("accepted()"), self.accept) - self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.reject) + self.cw.accepted[()].connect(self.accept) + self.cw.buttonBox.rejected[()].connect(self.reject) class PluginUninstallWindow(QMainWindow): """ @@ -199,5 +199,5 @@ self.setCentralWidget(self.cw) self.resize(size) - self.connect(self.cw, SIGNAL("accepted()"), self.close) - self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.close) + self.cw.accepted[()].connect(self.close) + self.cw.buttonBox.rejected[()].connect(self.close) \ No newline at end of file