┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas Fella <[email protected]>2024-03-03 23:25:09 +0100
committerNicolas Fella <[email protected]>2024-03-03 23:25:09 +0100
commit5d96999a51690934c79316f9abdeebef0c098edb (patch)
treee3717fe9bfb3173e9c9aa9219124564529a84cd4 /src
parent6231e67120cf4abae696b736e9d851464338f4dd (diff)
Open KFind with current dir
Amends 2cd3d58eec5695899c26ca66a631fb79867b6584 BUG: 482343
Diffstat (limited to 'src')
-rw-r--r--src/dolphinmainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index f90ff0c73..03486a9cf 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -1208,8 +1208,9 @@ QPointer<QAction> DolphinMainWindow::preferredSearchTool()
auto *action = new QAction(QIcon::fromTheme(kfind->icon()), kfind->name(), this);
- connect(action, &QAction::triggered, this, [kfind] {
+ connect(action, &QAction::triggered, this, [this, kfind] {
auto *job = new KIO::ApplicationLauncherJob(kfind);
+ job->setUrls({m_activeViewContainer->url()});
job->start();
});