diff --git a/containments/desktop/plugins/folder/foldermodel.cpp b/containments/desktop/plugins/folder/foldermodel.cpp --- a/containments/desktop/plugins/folder/foldermodel.cpp +++ b/containments/desktop/plugins/folder/foldermodel.cpp @@ -535,7 +535,9 @@ } KRun *run = new KRun(url, 0); - run->setShowScriptExecutionPrompt(true); + // On desktop:/ we want to be able to run .desktop files right away, + // otherwise ask for security reasons. + run->setShowScriptExecutionPrompt(!m_parseDesktopFiles); } void FolderModel::runSelected()