Commit d9d0527e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to use ok/cancel here

parent 3a3d6e0e
Pipeline #63749 passed with stage
in 41 minutes and 25 seconds
......@@ -26,7 +26,7 @@ ConfigureFiltersDialog::ConfigureFiltersDialog(QWidget *parent)
mConfigureFiltersWidget->setObjectName(QStringLiteral("mConfigureFiltersWidget"));
mainLayout->addWidget(mConfigureFiltersWidget);
auto button = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this);
auto button = new QDialogButtonBox(QDialogButtonBox::Close, this);
mainLayout->addWidget(button);
connect(button, &QDialogButtonBox::accepted, this, &ConfigureFiltersDialog::accept);
connect(button, &QDialogButtonBox::rejected, this, &ConfigureFiltersDialog::reject);
......
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