diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2010-03-30 17:29:06 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2010-03-30 17:29:06 +0200 |
commit | 81c8540bd7fd2593edcfa1b054411cd3a3f3dc02 (patch) | |
tree | 3e54266ea3e8367041912bd482a2f62e63fa799c /src/plugins/projectexplorer | |
parent | c30d18b51a21194260f18a28d28d38fde973432d (diff) |
Do not add linebreaks into the MPTS tooltips
This stops projects with long project names from being displayed like
this:
Project:
longprojectName
Target: Something
Thanks to Roberto for the suggestion.
Diffstat (limited to 'src/plugins/projectexplorer')
-rw-r--r-- | src/plugins/projectexplorer/miniprojecttargetselector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/miniprojecttargetselector.cpp b/src/plugins/projectexplorer/miniprojecttargetselector.cpp index da42c6dafb..8902895157 100644 --- a/src/plugins/projectexplorer/miniprojecttargetselector.cpp +++ b/src/plugins/projectexplorer/miniprojecttargetselector.cpp @@ -578,7 +578,7 @@ void MiniProjectTargetSelector::updateAction() m_projectAction->setProperty("heading", projectName); m_projectAction->setProperty("subtitle", buildConfig); m_projectAction->setIcon(targetIcon); - 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("") |