aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-03-30 17:29:06 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2010-03-30 17:29:06 +0200
commit81c8540bd7fd2593edcfa1b054411cd3a3f3dc02 (patch)
tree3e54266ea3e8367041912bd482a2f62e63fa799c /src/plugins/projectexplorer
parentc30d18b51a21194260f18a28d28d38fde973432d (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.cpp2
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("")