From bcdb1957af4de9d7fc480e370c33fd8c666b663f Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Tue, 24 Nov 2020 13:47:48 -0700 Subject: [PATCH] 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 --- src/dolphinviewcontainer.cpp | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.47.3