Merge pull request #20 from ospalh/play_once

Remove redundant connect to clicked().
This commit is contained in:
Damien Elmes 2012-06-04 13:11:03 -07:00
commit e1cce5b2e4

View file

@ -23,9 +23,6 @@ class EditCurrent(QDialog):
self.setWindowTitle(_("Edit Current")) self.setWindowTitle(_("Edit Current"))
self.setMinimumHeight(400) self.setMinimumHeight(400)
self.setMinimumWidth(500) self.setMinimumWidth(500)
self.connect(self.form.buttonBox.button(QDialogButtonBox.Close),
SIGNAL("clicked()"),
self.onSave)
self.connect(self, self.connect(self,
SIGNAL("rejected()"), SIGNAL("rejected()"),
self.onSave) self.onSave)