Commit 6d060814 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add a qWarning here

parent ce040b02
......@@ -2605,7 +2605,9 @@ void ViewerPrivate::slotHandleAttachment(int choice)
}
switch (choice) {
case Viewer::Delete:
deleteAttachment(mCurrentContent);
if (!deleteAttachment(mCurrentContent)) {
qCWarning(MESSAGEVIEWER_LOG) << "Impossible to delete attachment";
}
break;
case Viewer::Properties:
attachmentProperties(mCurrentContent);
......
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