Allow multiple simultaneous searches

PR #22127.
This commit is contained in:
Vladimir Golovnev
2025-01-11 09:53:40 +03:00
committed by GitHub
parent 68ecb13d14
commit 5875d8bff3
4 changed files with 62 additions and 35 deletions

View File

@@ -739,7 +739,7 @@ void MainWindow::displaySearchTab(bool enable)
if (!m_searchWidget)
{
m_searchWidget = new SearchWidget(app(), this);
connect(m_searchWidget, &SearchWidget::activeSearchFinished, this, [this](const bool failed)
connect(m_searchWidget, &SearchWidget::searchFinished, this, [this](const bool failed)
{
if (app()->desktopIntegration()->isNotificationsEnabled() && (currentTabWidget() != m_searchWidget))
{