MCUSupport: Fix UI string

Task-number: QDS-14863
Change-Id: Icc71409773f7661c7edb462c595fd2eda9480666
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
(cherry picked from commit 81d930243e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Thomas Hartmann
2025-03-06 18:35:06 +01:00
committed by Thomas Hartmann
parent 117a05fe7d
commit ae7567e2ba

View File

@@ -248,9 +248,10 @@ void McuSupportPlugin::initialize()
[&](ProjectExplorer::Project *p) {
if (!isQtMCUsProject(p) || !ICore::infoBar()->canInfoBeAdded(qdsMcuDocInfoEntry))
return;
Utils::InfoBarEntry docInfo(qdsMcuDocInfoEntry,
Tr::tr("Read about Using QtMCUs in the Qt Design Studio"),
Utils::InfoBarEntry::GlobalSuppression::Enabled);
Utils::InfoBarEntry docInfo(
qdsMcuDocInfoEntry,
Tr::tr("Read about using Qt Design Studio for Qt for MCUs."),
Utils::InfoBarEntry::GlobalSuppression::Enabled);
docInfo.addCustomButton(Tr::tr("Go to the Documentation"), [] {
ICore::infoBar()->suppressInfo(qdsMcuDocInfoEntry);
QDesktopServices::openUrl(