Commit 6d5af33c authored by Laurent Montel's avatar Laurent Montel 😁

Add parent to dilog button box

parent e44ffdcd
......@@ -805,7 +805,7 @@ void Kleo::CryptoConfigEntryLDAPURL::doSave()
void prepareURLCfgDialog(QDialog *dialog, DirectoryServicesWidget *dirserv, bool readOnly)
{
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok, dialog);
if (!readOnly) {
buttonBox->addButton(QDialogButtonBox::Cancel);
......
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