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

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);
delete dlg;
ExternalComposerConfigureDialog dlg(parent);
#include "externalcomposerplugineditor.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