Commit 648a48af authored by Laurent Montel's avatar Laurent Montel 😁

Fix Bug 379988 - TNEF attachments not properly represented in UI

FIXED-IN: 5.5.2
BUG: 379988
parent 1f7f97c2
......@@ -170,7 +170,7 @@ public:
attFileName = att->name();
}
bodyPart->nodeHelper()->addTempFile(dir + QDir::separator() + attFileName);
const QString href = QStringLiteral("file:") + QString::fromLatin1(QUrl::toPercentEncoding(dir + QDir::separator() + att->name()));
const QString href = QStringLiteral("file:") + dir + QDir::separator() + attFileName;
const QString iconName = QUrl::fromLocalFile(MessageViewer::Util::iconPathForMimetype(att->mimeTag(),
KIconLoader::Desktop, attFileName)).url();
......
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