Commit 9f268f5f authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Don't use local URL for KMoreTool

This method is called a billion times and spawns a blocking(!) StatJob.
KFind can search local URLs, too, so I don't see why this is necessary.
Either way, I'd rather have a non-KDE search tool broken than the app.
Ideally, I'd like this entire thing redone to use an async StatJob, if any.
Fwiw the KMoreTools in the free space bar doesn't use a local URL either.

BUG: 420911
FIXED-IN: 20.04.1

Differential Revision:
parent 2c72b186
......@@ -956,7 +956,7 @@ QPointer<QAction> DolphinMainWindow::preferredSearchTool()
&m_searchTools, { "files-find" }, QUrl::fromLocalFile(activeContainerLocalPath())
&m_searchTools, { "files-find" }, m_activeViewContainer->url()
QList<QAction*> actions = m_searchTools.actions();
if (actions.isEmpty()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment