Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit a3eb3bab authored by Laurent Montel's avatar Laurent Montel 😁


parent 12495266
......@@ -406,7 +406,7 @@ bool AttachmentModel::replaceAttachment(AttachmentPart::Ptr oldPart, AttachmentP
return true;
bool AttachmentModel::removeAttachment(AttachmentPart::Ptr part)
bool AttachmentModel::removeAttachment(const AttachmentPart::Ptr &part)
int idx = d->parts.indexOf(part);
if (idx < 0) {
......@@ -104,7 +104,7 @@ public:
bool addAttachment(MessageCore::AttachmentPart::Ptr part);
bool updateAttachment(MessageCore::AttachmentPart::Ptr part);
bool replaceAttachment(MessageCore::AttachmentPart::Ptr oldPart, MessageCore::AttachmentPart::Ptr newPart);
bool removeAttachment(MessageCore::AttachmentPart::Ptr part);
bool removeAttachment(const MessageCore::AttachmentPart::Ptr &part);
MessageCore::AttachmentPart::List attachments() const;
Qt::ItemFlags flags(const QModelIndex &index) const override;
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