This commit is contained in:
Chocobo1
2021-10-10 00:14:18 +08:00
parent 3467358663
commit 7087565d92
7 changed files with 45 additions and 45 deletions

View File

@@ -304,7 +304,7 @@ void SearchWidget::on_searchButton_clicked()
{
if (!Utils::ForeignApps::pythonInfo().isValid())
{
m_mainWindow->showNotificationBaloon(tr("Search Engine"), tr("Please install Python to use the Search Engine."));
m_mainWindow->showNotificationBalloon(tr("Search Engine"), tr("Please install Python to use the Search Engine."));
return;
}
@@ -373,9 +373,9 @@ void SearchWidget::tabStatusChanged(QWidget *tab)
if (m_mainWindow->isNotificationsEnabled() && (m_mainWindow->currentTabWidget() != this))
{
if (m_activeSearchTab->status() == SearchJobWidget::Status::Error)
m_mainWindow->showNotificationBaloon(tr("Search Engine"), tr("Search has failed"));
m_mainWindow->showNotificationBalloon(tr("Search Engine"), tr("Search has failed"));
else
m_mainWindow->showNotificationBaloon(tr("Search Engine"), tr("Search has finished"));
m_mainWindow->showNotificationBalloon(tr("Search Engine"), tr("Search has finished"));
}
m_activeSearchTab = nullptr;