summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@nokia.com>2010-01-15 13:04:57 +0100
committerRobert Loehning <robert.loehning@nokia.com>2010-01-15 13:04:57 +0100
commit86567e68194c0892978cde194b5d21d473f7e7e6 (patch)
treecdd3ca2cb646ad4b796b42c8eefd60af8a2f0f66
parent714a027a559364c85e2d5df71ffdd8cda66726b3 (diff)
downloadqt-creator-86567e68194c0892978cde194b5d21d473f7e7e6.tar.gz
Showing display names of usable build configs if run config doesn't
match. Reviewed-by: con
-rw-r--r--src/plugins/projectexplorer/projectexplorer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index 59ea186666..85277bc31b 100644
--- a/src/plugins/projectexplorer/projectexplorer.cpp
+++ b/src/plugins/projectexplorer/projectexplorer.cpp
@@ -2166,7 +2166,7 @@ BuildConfigDialog::BuildConfigDialog(Project *project, QWidget *parent)
QSharedPointer<RunConfiguration> activeRun = m_project->activeRunConfiguration();
foreach (BuildConfiguration *config, m_project->buildConfigurations()) {
if (activeRun->isEnabled(config)) {
- m_configCombo->addItem(config->name(), qVariantFromValue(config));
+ m_configCombo->addItem(config->displayName(), qVariantFromValue(config));
}
}
if (m_configCombo->count() == 0) {