Commit bcdb1957 authored by Nate Graham's avatar Nate Graham
Browse files

Allow the openURLJob to run executables

Otherwise, excecutable files like AppImages won't be allowed to launch
even if they are correctly marked as executable.

BUG: 429603
FIXED-IN: 20.12
parent 2cd1c07c
...@@ -638,6 +638,7 @@ void DolphinViewContainer::slotItemActivated(const KFileItem& item) ...@@ -638,6 +638,7 @@ void DolphinViewContainer::slotItemActivated(const KFileItem& item)
} }
KIO::OpenUrlJob *job = new KIO::OpenUrlJob(item.targetUrl()); KIO::OpenUrlJob *job = new KIO::OpenUrlJob(item.targetUrl());
job->setRunExecutables(true);
job->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this)); job->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this));
job->setShowOpenOrExecuteDialog(true); job->setShowOpenOrExecuteDialog(true);
job->start(); job->start();
......
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