Commit 5ecb9599 authored by Laurent Montel's avatar Laurent Montel 😁

not necessary to use QPointer here

parent 315d4ba1
......@@ -33,9 +33,8 @@ bool ExternalComposerPluginEditor::hasConfigureDialog() const
void ExternalComposerPluginEditor::showConfigureDialog(QWidget *parent)
{
QPointer<ExternalComposerConfigureDialog> dlg = new ExternalComposerConfigureDialog(parent);
dlg->exec();
delete dlg;
ExternalComposerConfigureDialog dlg(parent);
dlg.exec();
}
#include "externalcomposerplugineditor.moc"
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