diff --git a/src/gui/search/searchjobwidget.cpp b/src/gui/search/searchjobwidget.cpp index fe391d5fc..3304a3873 100644 --- a/src/gui/search/searchjobwidget.cpp +++ b/src/gui/search/searchjobwidget.cpp @@ -163,6 +163,8 @@ SearchJobWidget::SearchJobWidget(SearchHandler *searchHandler, QWidget *parent) QShortcut *enterHotkey = new QShortcut(Qt::Key_Return, m_ui->resultsBrowser, nullptr, nullptr, Qt::WidgetShortcut); connect(enterHotkey, &QShortcut::activated, this, &SearchJobWidget::downloadTorrents); + + setStatusTip(statusText(m_status)); } SearchJobWidget::~SearchJobWidget() diff --git a/src/gui/search/searchwidget.cpp b/src/gui/search/searchwidget.cpp index fec6cd1c1..632802c00 100644 --- a/src/gui/search/searchwidget.cpp +++ b/src/gui/search/searchwidget.cpp @@ -337,7 +337,7 @@ void SearchWidget::on_searchButton_clicked() m_ui->tabWidget->setCurrentWidget(newTab); connect(newTab, &SearchJobWidget::resultsCountUpdated, this, &SearchWidget::resultsCountUpdated); - connect(newTab, &SearchJobWidget::statusChanged, this, [this, &newTab]() { tabStatusChanged(newTab); }); + connect(newTab, &SearchJobWidget::statusChanged, this, [this, newTab]() { tabStatusChanged(newTab); }); m_ui->searchButton->setText(tr("Stop")); m_activeSearchTab = newTab;