Commit d018e7ef authored by Laurent Montel's avatar Laurent Montel 😁

Connect qdialogbuttonbox

parent 812ae2ce
......@@ -40,6 +40,8 @@ CheckAttachmentDialog::CheckAttachmentDialog(QWidget *parent)
QDialogButtonBox * buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel, this);
buttonBox->setObjectName(QStringLiteral("buttonbox"));
connect(buttonBox, &QDialogButtonBox::accepted, this, &CheckAttachmentDialog::accept);
connect(buttonBox, &QDialogButtonBox::rejected, this, &CheckAttachmentDialog::reject);
mainLayout->addWidget(buttonBox);
readConfig();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment