mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Add back "qBittorrent" in program updater title, closes #3549.
This commit is contained in:
parent
eef2a0a200
commit
deaf322740
1 changed files with 2 additions and 2 deletions
|
@ -1460,7 +1460,7 @@ void MainWindow::handleUpdateCheckFinished(bool update_available, QString new_ve
|
||||||
{
|
{
|
||||||
QMessageBox::StandardButton answer = QMessageBox::Yes;
|
QMessageBox::StandardButton answer = QMessageBox::Yes;
|
||||||
if (update_available) {
|
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),
|
tr("A new version is available.\nUpdate to version %1?").arg(new_version),
|
||||||
QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
|
QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
|
||||||
if (answer == QMessageBox::Yes) {
|
if (answer == QMessageBox::Yes) {
|
||||||
|
@ -1470,7 +1470,7 @@ void MainWindow::handleUpdateCheckFinished(bool update_available, QString new_ve
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (invokedByUser) {
|
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."));
|
tr("No updates available.\nYou are already using the latest version."));
|
||||||
}
|
}
|
||||||
sender()->deleteLater();
|
sender()->deleteLater();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue