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

Merge pull request #3550 from Chocobo1/title_fix

Add back "qBittorrent" in program updater title, closes #3549.
This commit is contained in:
sledgehammer999 2015-08-04 11:53:03 +03:00
commit 0520f01510

View File

@ -1460,7 +1460,7 @@ void MainWindow::handleUpdateCheckFinished(bool update_available, QString new_ve
{
QMessageBox::StandardButton answer = QMessageBox::Yes;
if (update_available) {
answer = QMessageBox::question(this, tr("Update Available"),
answer = QMessageBox::question(this, tr("qBittorrent Update Available"),
tr("A new version is available.\nUpdate to version %1?").arg(new_version),
QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
if (answer == QMessageBox::Yes) {
@ -1470,7 +1470,7 @@ void MainWindow::handleUpdateCheckFinished(bool update_available, QString new_ve
}
}
else if (invokedByUser) {
QMessageBox::information(this, tr("Already Using the Latest Version"),
QMessageBox::information(this, tr("Already Using the Latest qBittorrent Version"),
tr("No updates available.\nYou are already using the latest version."));
}
sender()->deleteLater();