Commit 57b309b7 authored by Laurent Montel's avatar Laurent Montel 😁

Fix potential crash

parent fad63943
......@@ -238,8 +238,9 @@ void PimSettingExporterWindow::setupActions(bool canZipFile)
void PimSettingExporterWindow::slotConfigure()
{
PimSettingExporterConfigureDialog dlg(this);
dlg.exec();
QPointer<PimSettingExporterConfigureDialog> dlg = new PimSettingExporterConfigureDialog(this);
dlg->exec();
delete dlg;
}
void PimSettingExporterWindow::slotUpdateActions(bool inAction)
......
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