mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Indicate to the user that he's going to download the new version.
Indicate from the installer that the old version was detected and no settings will be deleted. Closes #4320.
This commit is contained in:
@@ -1469,7 +1469,7 @@ void MainWindow::handleUpdateCheckFinished(bool update_available, QString new_ve
|
||||
QMessageBox::StandardButton answer = QMessageBox::Yes;
|
||||
if (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.\nDo you want to download %1?").arg(new_version),
|
||||
QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
|
||||
if (answer == QMessageBox::Yes) {
|
||||
// The user want to update, let's download the update
|
||||
|
||||
Reference in New Issue
Block a user