Paste P566

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Mar 27 2020, 10:48 PM.
diff --git a/runners/recentdocuments/recentdocuments.cpp b/runners/recentdocuments/recentdocuments.cpp
index 1b2858deb..ea5a779b6 100644
--- a/runners/recentdocuments/recentdocuments.cpp
+++ b/runners/recentdocuments/recentdocuments.cpp
@@ -127,7 +127,8 @@ void RecentDocuments::run(const Plasma::RunnerContext &context, const Plasma::Qu
return;
}
- new KRun(QUrl(url), nullptr);
+ auto run = new KRun(QUrl(url), nullptr);
+ run->setRunExecutables(false);
}
QList<QAction *> RecentDocuments::actionsForMatch(const Plasma::QueryMatch &match)
davidedmundson edited the content of this paste. (Show Details)Mar 27 2020, 10:48 PM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.