1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-02 16:31:23 +00:00

Open KFind with current dir

Amends 2cd3d58eec

BUG: 482343
This commit is contained in:
Nicolas Fella 2024-03-03 23:25:09 +01:00
parent 6231e67120
commit 5d96999a51

View 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();
});