Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 906b9494 authored by Laurent Montel's avatar Laurent Montel 😁

Use variable

parent 81e6c56b
......@@ -1038,8 +1038,8 @@ bool ContentPrivate::parseMultipart(Content *q)
// Create a sub-Content for every part.
Q_ASSERT(multipartContents.isEmpty());
body.clear();
auto parts = mpp.parts();
foreach (const QByteArray &part, mpp.parts()) {
const auto parts = mpp.parts();
foreach (const QByteArray &part, parts) {
Content *c = new Content(q);
c->setContent(part);
c->setFrozen(frozen);
......
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