Commit b58297fe authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Use the ProjectConfiguration's displayNameChanged signal

Reviewed-by: dt
parent 129f0a8e
......@@ -287,8 +287,8 @@ Qt4RunConfigurationWidget::Qt4RunConfigurationWidget(Qt4RunConfiguration *qt4Run
connect(qt4RunConfiguration, SIGNAL(commandLineArgumentsChanged(QString)),
this, SLOT(commandLineArgumentsChanged(QString)));
connect(qt4RunConfiguration, SIGNAL(displayNameChanged(QString)),
this, SLOT(displayNameChanged(QString)));
connect(qt4RunConfiguration, SIGNAL(displayNameChanged()),
this, SLOT(displayNameChanged()));
connect(qt4RunConfiguration, SIGNAL(runModeChanged(ProjectExplorer::LocalApplicationRunConfiguration::RunMode)),
this, SLOT(runModeChanged(ProjectExplorer::LocalApplicationRunConfiguration::RunMode)));
connect(qt4RunConfiguration, SIGNAL(usingDyldImageSuffixChanged(bool)),
......@@ -395,10 +395,10 @@ void Qt4RunConfigurationWidget::commandLineArgumentsChanged(const QString &args)
m_argumentsLineEdit->setText(args);
}
void Qt4RunConfigurationWidget::displayNameChanged(const QString &name)
void Qt4RunConfigurationWidget::displayNameChanged()
{
if (!m_ignoreChange)
m_nameLineEdit->setText(name);
m_nameLineEdit->setText(m_qt4RunConfiguration->displayName());
}
void Qt4RunConfigurationWidget::runModeChanged(LocalApplicationRunConfiguration::RunMode runMode)
......
......@@ -99,7 +99,6 @@ public slots:
void invalidateCachedTargetInformation();
signals:
void displayNameChanged(const QString&);
void commandLineArgumentsChanged(const QString&);
void workingDirectoryChanged(const QString&);
void runModeChanged(ProjectExplorer::LocalApplicationRunConfiguration::RunMode runMode);
......@@ -171,7 +170,7 @@ private slots:
void workingDirectoryChanged(const QString &workingDirectory);
void commandLineArgumentsChanged(const QString &args);
void displayNameChanged(const QString &name);
void displayNameChanged();
void runModeChanged(ProjectExplorer::LocalApplicationRunConfiguration::RunMode runMode);
void userEnvironmentChangesChanged(const QList<ProjectExplorer::EnvironmentItem> &userChanges);
void baseEnvironmentChanged();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment