Fix broken "attachment" icon in msg previewer.
This commit is contained in:
parent
1fcf08258e
commit
f78fa305ca
@ -110,7 +110,7 @@ void WebViewer::loadMessages(const QList<Message>& messages, RootItem* root) {
|
|||||||
enc_url = QUrl::fromPercentEncoding(enc_url.toUtf8());
|
enc_url = QUrl::fromPercentEncoding(enc_url.toUtf8());
|
||||||
|
|
||||||
enclosures += skin.m_enclosureMarkup.arg(enc_url,
|
enclosures += skin.m_enclosureMarkup.arg(enc_url,
|
||||||
QSL("📎"), enclosure.m_mimeType);
|
QSL("🧷"), enclosure.m_mimeType);
|
||||||
|
|
||||||
if (enclosure.m_mimeType.startsWith(QSL("image/"))) {
|
if (enclosure.m_mimeType.startsWith(QSL("image/"))) {
|
||||||
// Add thumbnail image.
|
// Add thumbnail image.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user