]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.cpp
Open KFind with current dir
[dolphin.git] / src / dolphinmainwindow.cpp
index f90ff0c7382b4cf006c8903f6ee120bd10cb99c1..03486a9cf69de0c570a0c2fc53483976d869ef55 100644 (file)
@@ -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();
     });