Commit 81c8540b authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Do not add linebreaks into the MPTS tooltips

This stops projects with long project names from being displayed like

 Target: Something

Thanks to Roberto for the suggestion.
parent c30d18b5
......@@ -578,7 +578,7 @@ void MiniProjectTargetSelector::updateAction()
m_projectAction->setProperty("heading", projectName);
m_projectAction->setProperty("subtitle", buildConfig);
QString toolTip = tr("<html><b>Project:</b> %1<br/>%2%3<b>Run:</b> %4%5</html>");
QString toolTip = tr("<html><nobr><b>Project:</b> %1<br/>%2%3<b>Run:</b> %4%5</html>");
QString targetTip = targetName.isEmpty() ? QLatin1String("")
: tr("<b>Target:</b> %1<br/>").arg(targetName);
QString buildTip = buildConfig.isEmpty() ? QLatin1String("")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment