mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-02 14:45:04 +00:00
parent
6231e67120
commit
5d96999a51
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue