forked from qt-creator/qt-creator
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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user