Commit e3e664b4 authored by Sandro Knauß's avatar Sandro Knauß
Browse files

MessageComposer: cleanup result value (no need to create a copy).

parent de7eca85
Pipeline #48576 canceled with stage
......@@ -453,8 +453,7 @@ QVector<KMime::Message::Ptr> Composer::resultMessages() const
Q_D(const Composer);
Q_ASSERT(d->finished);
Q_ASSERT(!error());
const QVector<KMime::Message::Ptr> results = d->resultMessages;
return results;
return d->resultMessages;
}
GlobalPart *Composer::globalPart() const
......
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