diff options
author | Robert Loehning <robert.loehning@nokia.com> | 2010-01-15 13:04:57 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@nokia.com> | 2010-01-15 13:04:57 +0100 |
commit | 86567e68194c0892978cde194b5d21d473f7e7e6 (patch) | |
tree | cdd3ca2cb646ad4b796b42c8eefd60af8a2f0f66 | |
parent | 714a027a559364c85e2d5df71ffdd8cda66726b3 (diff) | |
download | qt-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.cpp | 2 |
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) { |