From 61ff683f11a653fecd6a3dd0dbfe784cd6aaf63d Mon Sep 17 00:00:00 2001
From: tinyboxvk <13696594+tinyboxvk@users.noreply.github.com>
Date: Fri, 22 Nov 2024 09:05:39 -0400
Subject: [PATCH] Update link to news
Change `https://www.qbittorrent.org/news.php` to `https://www.qbittorrent.org/news` to avoid redirect.
PR #21872.
---
src/gui/mainwindow.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp
index 5c690e476..59bfe701c 100644
--- a/src/gui/mainwindow.cpp
+++ b/src/gui/mainwindow.cpp
@@ -1656,7 +1656,7 @@ void MainWindow::handleUpdateCheckFinished(ProgramUpdater *updater, const bool i
{
const QString msg {tr("A new version is available.") + u"
"
+ tr("Do you want to download %1?").arg(newVersion) + u"
"
- + u"%1"_s.arg(tr("Open changelog..."))};
+ + u"%1"_s.arg(tr("Open changelog..."))};
auto *msgBox = new QMessageBox {QMessageBox::Question, tr("qBittorrent Update Available"), msg
, (QMessageBox::Yes | QMessageBox::No), this};
msgBox->setAttribute(Qt::WA_DeleteOnClose);