forked from qt-creator/qt-creator
ProjectExplorer: Show missing warning text in MakeStep widget
The tooltip didn't show up at all, and even if it had, it would be weird to have a warning icon all by itself. Task-number: QTCREATORBUG-25089 Change-Id: I517c762b050f93aa2f2c4aa89f208e4ccb7515c5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -75,7 +75,7 @@ MakeStep::MakeStep(BuildStepList *parent, Id id)
|
||||
m_overrideMakeflagsAspect->setLabel(text, BoolAspect::LabelPlacement::AtCheckBox);
|
||||
|
||||
m_nonOverrideWarning = addAspect<TextDisplay>();
|
||||
m_nonOverrideWarning->setToolTip("<html><body><p>" +
|
||||
m_nonOverrideWarning->setText("<html><body><p>" +
|
||||
tr("<code>MAKEFLAGS</code> specifies parallel jobs. Check \"%1\" to override.")
|
||||
.arg(text) + "</p></body></html>");
|
||||
m_nonOverrideWarning->setIconType(InfoLabel::Warning);
|
||||
|
Reference in New Issue
Block a user