PluginManager/PluginUninstallDialog.py

changeset 3345
071afe8be2a1
parent 3190
a9a94491c4fd
child 3366
6084bb3c3911
diff -r f7a6d271bb40 -r 071afe8be2a1 PluginManager/PluginUninstallDialog.py
--- a/PluginManager/PluginUninstallDialog.py	Fri Mar 07 19:20:36 2014 +0100
+++ b/PluginManager/PluginUninstallDialog.py	Sat Mar 08 20:09:41 2014 +0100
@@ -220,8 +220,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)
 
 
 class PluginUninstallWindow(E5MainWindow):
@@ -244,5 +244,5 @@
         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)

eric ide

mercurial