┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Graham <[email protected]>2020-11-24 13:47:48 -0700
committerNate Graham <[email protected]>2020-11-24 13:47:48 -0700
commitbcdb1957af4de9d7fc480e370c33fd8c666b663f (patch)
tree1dff91960766d976c6eb5a4c37d89729070a0160
parent2cd1c07cad5945a5286914c05987e21b53cc3c7f (diff)
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
-rw-r--r--src/dolphinviewcontainer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp
index 4b11fc3d1..7260d2c4c 100644
--- a/src/dolphinviewcontainer.cpp
+++ b/src/dolphinviewcontainer.cpp
@@ -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();