mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
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
This commit is contained in:
parent
2cd1c07cad
commit
bcdb1957af
|
@ -638,6 +638,7 @@ void DolphinViewContainer::slotItemActivated(const KFileItem& item)
|
|||
}
|
||||
|
||||
KIO::OpenUrlJob *job = new KIO::OpenUrlJob(item.targetUrl());
|
||||
job->setRunExecutables(true);
|
||||
job->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this));
|
||||
job->setShowOpenOrExecuteDialog(true);
|
||||
job->start();
|
||||
|
|
Loading…
Reference in a new issue