mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
committed by
sledgehammer999
parent
0fda919268
commit
cffafa8e9f
@@ -230,7 +230,6 @@ void SearchWidget::selectActivePage()
|
||||
SearchWidget::~SearchWidget()
|
||||
{
|
||||
qDebug("Search destruction");
|
||||
delete SearchPluginManager::instance();
|
||||
delete m_ui;
|
||||
}
|
||||
|
||||
@@ -295,7 +294,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