ProjectExplorer: Fix "Click to activate:" tooltip in target setup

The kit information needs to be shown in the tooltip.
Amends 460fdc02e0

Change-Id: Id661318d97244c6c35c5880842788fa265cc0098
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Alessandro Portale
2018-05-02 17:55:57 +02:00
parent 0b1ed791a5
commit ea86b6e7c8

View File

@@ -349,7 +349,7 @@ public:
if (m_kitErrorsForProject) if (m_kitErrorsForProject)
toolTip = "<h3>" + tr("Kit is unsuited for Project") + "</h3>"; toolTip = "<h3>" + tr("Kit is unsuited for Project") + "</h3>";
else if (!isEnabled()) else if (!isEnabled())
toolTip = "<h3>" + tr("Click to activate:") + "</h3>"; toolTip = "<h3>" + tr("Click to activate:") + "</h3>" + k->toHtml();
if (!m_kitIssues.isEmpty()) if (!m_kitIssues.isEmpty())
toolTip += toHtml(m_kitIssues); toolTip += toHtml(m_kitIssues);
return toolTip; return toolTip;