connect closeClicked as well to rejected
This commit is contained in:
parent
3e1359a8bc
commit
a5db2727dd
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user