diff options
Diffstat (limited to 'framework/src/domain/mime/partmodel.cpp')
-rw-r--r-- | framework/src/domain/mime/partmodel.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/framework/src/domain/mime/partmodel.cpp b/framework/src/domain/mime/partmodel.cpp index d03ae103..a87a60df 100644 --- a/framework/src/domain/mime/partmodel.cpp +++ b/framework/src/domain/mime/partmodel.cpp | |||
@@ -167,10 +167,6 @@ QVariant PartModel::data(const QModelIndex &index, int role) const | |||
167 | case IsErrorRole: | 167 | case IsErrorRole: |
168 | return messagePart->error(); | 168 | return messagePart->error(); |
169 | case ContentRole: { | 169 | case ContentRole: { |
170 | auto errorText = messagePart->partMetaData()->errorText; | ||
171 | if (!errorText.isEmpty()) { | ||
172 | return errorText; | ||
173 | } | ||
174 | const auto text = messagePart->isHtml() ? messagePart->htmlContent() : messagePart->text(); | 170 | const auto text = messagePart->isHtml() ? messagePart->htmlContent() : messagePart->text(); |
175 | if (messagePart->isHtml()) { | 171 | if (messagePart->isHtml()) { |
176 | return d->mParser->resolveCidLinks(text); | 172 | return d->mParser->resolveCidLinks(text); |