UpdateInfo: Improve URL for "Qt blog" for new Qt releases

Use the URL that shows all release blog posts, which increases chances
for the user to find the right one without hassle.

Change-Id: Ia34b4de031223dd8b856be3cf1596fe1db274e54
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2022-06-16 14:26:23 +02:00
parent 65e043961e
commit bd2a994434

View File

@@ -254,9 +254,9 @@ static void showQtUpdateInfo(const QtPackage &package,
{ {
Utils::InfoBarEntry info(InstallQtUpdates, Utils::InfoBarEntry info(InstallQtUpdates,
UpdateInfoPlugin::tr( UpdateInfoPlugin::tr(
"%1 is available. Check the <a " "%1 is available. Check the <a %2>Qt blog</a> for details.")
"href=\"https://www.qt.io/blog\">Qt blog</a> for details.") .arg(package.displayName,
.arg(package.displayName)); QString("href=\"https://www.qt.io/blog/tag/releases\"")));
info.addCustomButton(UpdateInfoPlugin::tr("Start Package Manager"), [startPackageManager] { info.addCustomButton(UpdateInfoPlugin::tr("Start Package Manager"), [startPackageManager] {
Core::ICore::infoBar()->removeInfo(InstallQtUpdates); Core::ICore::infoBar()->removeInfo(InstallQtUpdates);
startPackageManager(); startPackageManager();