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 663ae78f authored by Sandro Knauß's avatar Sandro Knauß

make sure, that displayHint don't crash.

parent 6a451425
......@@ -974,7 +974,7 @@ MimeTreeParser::IconType DefaultRendererPrivate::displayHint(const MimeTreeParse
auto mp = msgPart.dynamicCast<MimeTreeParser::TextMessagePart>();
auto content = msgPart->content();
if (!content) {
if (!content || !mp) {
return MimeTreeParser::IconType::NoIcon;
}
......
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