diff --git a/declarativeimports/plasmacomponents/kdialogproxy.cpp b/declarativeimports/plasmacomponents/kdialogproxy.cpp index 89b7aa4cf..9e98d35f2 100644 --- a/declarativeimports/plasmacomponents/kdialogproxy.cpp +++ b/declarativeimports/plasmacomponents/kdialogproxy.cpp @@ -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()