Commit 8ea52197 authored by David Narváez's avatar David Narváez

Prevent Deletion of Option Dialog

These are used (and deleted) later by the callers.

This is a temporary fix so that it will go into the 20.12 release.
A proper fix as outlined in Comment 3 of the bug report should go to
master.

BUG: 422665
FIXED-IN: 20.12.1
parent 76bd6db8
......@@ -80,7 +80,6 @@ void KigFileDialog::accept()
connect( buttonBox, &QDialogButtonBox::rejected, optdlg.data(), &QDialog::reject);
(optdlg->exec() == QDialog::Accepted) ? QFileDialog::accept() : QFileDialog::reject();
delete optdlg;
}
else
QFileDialog::accept();
......
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