Commit 4eee60f2 authored by David Faure's avatar David Faure
Browse files

Remove setRunExecutables(true), it serves no purpose with a text/html mimetype

parent fcd2f88c
Pipeline #43827 passed with stage
in 27 minutes and 54 seconds
...@@ -273,7 +273,6 @@ void ViewerPrivate::openAttachment(KMime::Content *node, const QUrl &url) ...@@ -273,7 +273,6 @@ void ViewerPrivate::openAttachment(KMime::Content *node, const QUrl &url)
if (ct->hasParameter(QStringLiteral("url"))) { if (ct->hasParameter(QStringLiteral("url"))) {
KIO::OpenUrlJob *job = new KIO::OpenUrlJob(url, QStringLiteral("text/html")); KIO::OpenUrlJob *job = new KIO::OpenUrlJob(url, QStringLiteral("text/html"));
job->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, q)); job->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, q));
job->setRunExecutables(true);
job->start(); job->start();
return; return;
} }
......
Supports Markdown
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