mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
@@ -226,7 +226,6 @@ void SearchWidget::selectActivePage()
|
||||
SearchWidget::~SearchWidget()
|
||||
{
|
||||
qDebug("Search destruction");
|
||||
delete SearchPluginManager::instance();
|
||||
delete m_ui;
|
||||
}
|
||||
|
||||
@@ -279,7 +278,7 @@ void SearchWidget::giveFocusToSearchInput()
|
||||
// Function called when we click on search button
|
||||
void SearchWidget::on_searchButton_clicked()
|
||||
{
|
||||
if (Utils::ForeignApps::pythonInfo().version.majorNumber() <= 0) {
|
||||
if (!Utils::ForeignApps::pythonInfo().isValid()) {
|
||||
m_mainWindow->showNotificationBaloon(tr("Search Engine"), tr("Please install Python to use the Search Engine."));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user