connect closeClicked as well to rejected

This commit is contained in:
Marco Martin 2011-11-03 18:28:15 +01:00
parent 3e1359a8bc
commit a5db2727dd

View File

@ -34,6 +34,7 @@ KDialogProxy::KDialogProxy (QObject *parent)
m_dialog->setButtons( KDialog::Ok | KDialog::Cancel);
connect(m_dialog, SIGNAL(okClicked()), this, SIGNAL(accepted()));
connect(m_dialog, SIGNAL(cancelClicked()), this, SIGNAL(rejected()));
connect(m_dialog, SIGNAL(closeClicked()), this, SIGNAL(rejected()));
}
KDialogProxy::~KDialogProxy()