Remove obsolete ways to set the display name

* Now that there is a generic way to rename configurations:
   Remove individual renaming methods from all over the codebase

Reviewed-by: dt
This commit is contained in:
Tobias Hunger
2010-08-18 15:42:01 +02:00
parent efe4d80772
commit b6f1dbeeb0
15 changed files with 31 additions and 200 deletions

View File

@@ -79,9 +79,6 @@ Qt4ProjectConfigWidget::Qt4ProjectConfigWidget(Qt4Project *project)
m_ui->shadowBuildDirEdit->setExpectedKind(Utils::PathChooser::Directory);
m_ui->invalidQtWarningLabel->setVisible(false);
connect(m_ui->nameLineEdit, SIGNAL(textEdited(QString)),
this, SLOT(configNameEdited(QString)));
connect(m_ui->shadowBuildCheckBox, SIGNAL(clicked(bool)),
this, SLOT(shadowBuildClicked(bool)));
@@ -192,8 +189,6 @@ void Qt4ProjectConfigWidget::init(ProjectExplorer::BuildConfiguration *bc)
connect(m_buildConfiguration, SIGNAL(toolChainTypeChanged()),
this, SLOT(toolChainTypeChanged()));
m_ui->nameLineEdit->setText(m_buildConfiguration->displayName());
qtVersionsChanged();
QtVersionManager *vm = QtVersionManager::instance();
connect(vm, SIGNAL(qtVersionsChanged(QList<int>)),
@@ -225,11 +220,6 @@ void Qt4ProjectConfigWidget::qtVersionChanged()
updateDetails();
}
void Qt4ProjectConfigWidget::configNameEdited(const QString &newName)
{
m_buildConfiguration->setDisplayName(newName);
}
void Qt4ProjectConfigWidget::qtVersionsChanged()
{
m_ignoreChange = true;