Commit 6a93a033 authored by Albert Astals Cid's avatar Albert Astals Cid

Document::processAction: If the url points to a binary, don't run it

parent 362394bb
Pipeline #16275 passed with stage
in 10 minutes and 26 seconds
......@@ -4388,7 +4388,8 @@ void Document::processAction( const Action * action )
{
const QUrl realUrl = KIO::upUrl(d->m_url).resolved(url);
// KRun autodeletes
new KRun( realUrl, d->m_widget );
KRun *r = new KRun( realUrl, d->m_widget );
r->setRunExecutables(false);
}
}
} break;
......
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