Commit c3b7b7e4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix mem leak

parent b5ebb5e4
......@@ -351,7 +351,7 @@ void IncidenceAttachment::editSelectedAttachments()
QPointer<AttachmentEditDialog> dialog(
new AttachmentEditDialog(attitem, mAttachmentView, false));
connect(, SIGNAL(hidden()),, SLOT(delayedDestruct()));
dialog->setAttribute(Qt::WA_DeleteOnClose, true);
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