Commit 39c049b8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Create on stack

parent 306cb071
......@@ -21,9 +21,8 @@ DkimConfigureSettingsPlugin::~DkimConfigureSettingsPlugin()
void DkimConfigureSettingsPlugin::showConfigureDialog(QWidget *parent)
{
QPointer<DKIMConfigureDialog> dlg = new DKIMConfigureDialog(parent);
dlg->exec();
delete dlg;
DKIMConfigureDialog dlg(parent);
dlg.exec();
}
#include "dkimconfiguresettingsplugin.moc"
Supports Markdown
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