mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 08:43:08 -07: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:
parent
c700b8c5c5
commit
e9547f7a1c
60 changed files with 132 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue