Commit 608e1dac authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Minor optimization

parent c0a1ca0a
......@@ -136,7 +136,7 @@ QString FancyHeaderStyle::format(KMime::Message *message) const
const auto resentTo = mHeaderStyleUtil.resentToList(message);
QString to;
if (message->headerByType("Resent-To")) {
if (resentTo.data()) {
to
= StringUtil::emailAddrAsAnchor(resentTo.data(),
StringUtil::DisplayFullAddress) + QLatin1Char(' ')
......
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