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