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

remotes/origin/work/2004_421508
Albert Astals Cid 6 years ago
parent 362394bbfe
commit 6a93a033b4
  1. 3
      core/document.cpp

@ -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;

Loading…
Cancel
Save