From 45602754d9342f7e6e809b9def610c535b61af6e Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Thu, 22 Apr 2021 10:11:58 +0200 Subject: [PATCH] Only globally suppress "Link with Qt" if explicitly requested If the user actually links with a Qt installation, the note is not shown again. But if the user installs a different Qt Creator that is not linked, it should be shown again. After the user presses "Do not show again", it really will never be shown again. Fixes: QTCREATORBUG-25502 Change-Id: Ic3b6f46c318e4b8aa6b189e712b01f2c3d4a2b1d Reviewed-by: Qt CI Bot Reviewed-by: Alessandro Portale --- src/plugins/qtsupport/qtsupportplugin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/qtsupport/qtsupportplugin.cpp b/src/plugins/qtsupport/qtsupportplugin.cpp index 464768d9161..54303161b33 100644 --- a/src/plugins/qtsupport/qtsupportplugin.cpp +++ b/src/plugins/qtsupport/qtsupportplugin.cpp @@ -123,7 +123,6 @@ static void askAboutQtInstallation() Utils::InfoBarEntry::GlobalSuppression::Enabled); info.setCustomButtonInfo(QtSupportPlugin::tr("Link with Qt"), [] { ICore::infoBar()->removeInfo(kLinkWithQtInstallationSetting); - ICore::infoBar()->globallySuppressInfo(kLinkWithQtInstallationSetting); QTimer::singleShot(0, ICore::dialogParent(), &QtOptionsPage::linkWithQt); }); ICore::infoBar()->addInfo(info);