Commit a952a3e6 authored by Laurent Montel's avatar Laurent Montel
Browse files

Create configure dialog on stack

parent ad58962b
......@@ -45,11 +45,10 @@ bool LanguageToolPlugin::hasConfigureDialog() const
void LanguageToolPlugin::showConfigureDialog(QWidget *parent)
QPointer<LanguageToolConfigDialog> dlg = new LanguageToolConfigDialog(parent);
if (dlg->exec()) {
LanguageToolConfigDialog dlg(parent);
if (dlg.exec()) {
delete dlg;
#include "languagetoolplugin.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