Commit ef8a9371 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make sure that we don"t see [vcard] when we don't have it

parent f919863d
......@@ -938,6 +938,8 @@ QString ViewerPrivate::writeMessageHeader(KMime::Message *aMsg, KMime::Content *
HeaderStyle *style = headerStylePlugin()->headerStyle();
if (vCardNode) {
style->setVCardName(mNodeHelper->asHREF(vCardNode, QStringLiteral("body")));
} else {
style->setVCardName(QString());
}
style->setHeaderStrategy(headerStylePlugin()->headerStrategy());
style->setPrinting(mPrinting);
......
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