summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/mimetreeparser/mailman.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-20 13:02:23 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-20 13:02:23 +0100
commit3e51c52e17b66275f6d5eef4ec732dfd5bfac451 (patch)
tree1adf878598f62b47fe99cf7c97b7d92697613256 /framework/src/domain/mime/mimetreeparser/mailman.cpp
parent6ec9327081c87c8f6c48cb1fcf66dc3cd4e3dc18 (diff)
downloadkube-3e51c52e17b66275f6d5eef4ec732dfd5bfac451.tar.gz
kube-3e51c52e17b66275f6d5eef4ec732dfd5bfac451.zip
Removed unused argument
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/mailman.cpp')
-rw-r--r--framework/src/domain/mime/mimetreeparser/mailman.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/mailman.cpp b/framework/src/domain/mime/mimetreeparser/mailman.cpp
index 0ef3b7ba..f7a521fe 100644
--- a/framework/src/domain/mime/mimetreeparser/mailman.cpp
+++ b/framework/src/domain/mime/mimetreeparser/mailman.cpp
@@ -102,7 +102,7 @@ MessagePart::Ptr MailmanBodyPartFormatter::process(Interface::BodyPart &part) co
102 digestHeaderStr += str.midRef(0, thisDelim); 102 digestHeaderStr += str.midRef(0, thisDelim);
103 103
104 MessagePartList::Ptr mpl(new MessagePartList(part.objectTreeParser())); 104 MessagePartList::Ptr mpl(new MessagePartList(part.objectTreeParser()));
105 mpl->appendSubPart(createAndParseTempNode(part, part.topLevelContent(), digestHeaderStr.toLatin1().constData(), "Digest Header")); 105 mpl->appendSubPart(createAndParseTempNode(part, digestHeaderStr.toLatin1().constData(), "Digest Header"));
106 //mReader->queueHtml("<br><hr><br>"); 106 //mReader->queueHtml("<br><hr><br>");
107 // temporarily change curent node's Content-Type 107 // temporarily change curent node's Content-Type
108 // to get our embedded RfC822 messages properly inserted 108 // to get our embedded RfC822 messages properly inserted
@@ -139,7 +139,7 @@ MessagePart::Ptr MailmanBodyPartFormatter::process(Interface::BodyPart &part) co
139 } 139 }
140 } 140 }
141 qCDebug(MIMETREEPARSER_LOG) << " embedded message found: \"" << subject; 141 qCDebug(MIMETREEPARSER_LOG) << " embedded message found: \"" << subject;
142 mpl->appendSubPart(createAndParseTempNode(part, part.topLevelContent(), partStr.toLatin1().constData(), subject.toLatin1().constData())); 142 mpl->appendSubPart(createAndParseTempNode(part, partStr.toLatin1().constData(), subject.toLatin1().constData()));
143 //mReader->queueHtml("<br><hr><br>"); 143 //mReader->queueHtml("<br><hr><br>");
144 thisDelim = nextDelim + 1; 144 thisDelim = nextDelim + 1;
145 nextDelim = str.indexOf(delim1, thisDelim, Qt::CaseInsensitive); 145 nextDelim = str.indexOf(delim1, thisDelim, Qt::CaseInsensitive);
@@ -167,6 +167,6 @@ MessagePart::Ptr MailmanBodyPartFormatter::process(Interface::BodyPart &part) co
167 } 167 }
168 partStr = QStringLiteral("Content-Type: text/plain\nContent-Description: digest footer\n\n"); 168 partStr = QStringLiteral("Content-Type: text/plain\nContent-Description: digest footer\n\n");
169 partStr += str.midRef(thisDelim); 169 partStr += str.midRef(thisDelim);
170 mpl->appendSubPart(createAndParseTempNode(part, part.topLevelContent(), partStr.toLatin1().constData(), "Digest Footer")); 170 mpl->appendSubPart(createAndParseTempNode(part, partStr.toLatin1().constData(), "Digest Footer"));
171 return mpl; 171 return mpl;
172} 172}