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:
sledgehammer999 2016-01-03 17:38:50 +02:00
parent c700b8c5c5
commit e9547f7a1c
60 changed files with 132 additions and 6 deletions

View file

@ -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