Commit 56175d91 authored by Laurent Montel's avatar Laurent Montel 😁

Merge remote-tracking branch 'origin/Applications/17.04'

parents c9b5b220 648a48af
......@@ -166,7 +166,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