1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-09 05:14:23 +00:00

Capitalize menu item, missed in b4a855f.

This commit is contained in:
Chocobo1 2015-06-26 13:54:47 +08:00
parent 9d97c05889
commit 1e0ac5c5f1

View File

@ -1441,7 +1441,7 @@ void MainWindow::handleUpdateCheckFinished(bool update_available, QString new_ve
} }
sender()->deleteLater(); sender()->deleteLater();
actionCheck_for_updates->setEnabled(true); actionCheck_for_updates->setEnabled(true);
actionCheck_for_updates->setText(tr("Check for updates")); actionCheck_for_updates->setText(tr("Check for Updates"));
actionCheck_for_updates->setToolTip(tr("Check for program updates")); actionCheck_for_updates->setToolTip(tr("Check for program updates"));
// Don't bother the user again in this session if he chose to ignore the update // Don't bother the user again in this session if he chose to ignore the update
if (Preferences::instance()->isUpdateCheckEnabled() && answer == QMessageBox::Yes) if (Preferences::instance()->isUpdateCheckEnabled() && answer == QMessageBox::Yes)
@ -1539,7 +1539,7 @@ void MainWindow::checkProgramUpdate()
{ {
programUpdateTimer.stop(); // If the user had clicked the menu item programUpdateTimer.stop(); // If the user had clicked the menu item
actionCheck_for_updates->setEnabled(false); actionCheck_for_updates->setEnabled(false);
actionCheck_for_updates->setText(tr("Checking for updates...")); actionCheck_for_updates->setText(tr("Checking for Updates..."));
actionCheck_for_updates->setToolTip(tr("Already checking for program updates in the background")); actionCheck_for_updates->setToolTip(tr("Already checking for program updates in the background"));
bool invokedByUser = actionCheck_for_updates == qobject_cast<QAction*>(sender()); bool invokedByUser = actionCheck_for_updates == qobject_cast<QAction*>(sender());
ProgramUpdater *updater = new ProgramUpdater(this, invokedByUser); ProgramUpdater *updater = new ProgramUpdater(this, invokedByUser);