forked from qt-creator/qt-creator
MCUSupport: Fix UI string
Task-number: QDS-14863 Pick-to: qds/4.7 Change-Id: Icc71409773f7661c7edb462c595fd2eda9480666 Reviewed-by: Yasser Grimes <yasser.grimes@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
fdfdcf9acd
commit
81d930243e
@@ -247,9 +247,10 @@ 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,
|
||||||
Utils::InfoBarEntry::GlobalSuppression::Enabled);
|
Tr::tr("Read about using Qt Design Studio for Qt for MCUs."),
|
||||||
|
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);
|
||||||
QDesktopServices::openUrl(
|
QDesktopServices::openUrl(
|
||||||
|
Reference in New Issue
Block a user