Commit a84ebd12 authored by dt's avatar dt
Browse files

Fix show/hide of importing label

parent 5f05fb75
...@@ -153,6 +153,8 @@ void Qt4ProjectConfigWidget::init(ProjectExplorer::BuildConfiguration *bc) ...@@ -153,6 +153,8 @@ void Qt4ProjectConfigWidget::init(ProjectExplorer::BuildConfiguration *bc)
this, SLOT(buildDirectoryChanged())); this, SLOT(buildDirectoryChanged()));
disconnect(m_buildConfiguration, SIGNAL(qtVersionChanged()), disconnect(m_buildConfiguration, SIGNAL(qtVersionChanged()),
this, SLOT(qtVersionChanged())); this, SLOT(qtVersionChanged()));
disconnect(m_buildConfiguration, SIGNAL(qmakeBuildConfigurationChanged()),
this, SLOT(updateImportLabel()));
} }
m_buildConfiguration = static_cast<Qt4BuildConfiguration *>(bc); m_buildConfiguration = static_cast<Qt4BuildConfiguration *>(bc);
...@@ -161,6 +163,8 @@ void Qt4ProjectConfigWidget::init(ProjectExplorer::BuildConfiguration *bc) ...@@ -161,6 +163,8 @@ void Qt4ProjectConfigWidget::init(ProjectExplorer::BuildConfiguration *bc)
this, SLOT(buildDirectoryChanged())); this, SLOT(buildDirectoryChanged()));
connect(m_buildConfiguration, SIGNAL(qtVersionChanged()), connect(m_buildConfiguration, SIGNAL(qtVersionChanged()),
this, SLOT(qtVersionChanged())); this, SLOT(qtVersionChanged()));
connect(m_buildConfiguration, SIGNAL(qmakeBuildConfigurationChanged()),
this, SLOT(updateImportLabel()));
m_ui->nameLineEdit->setText(m_buildConfiguration->displayName()); m_ui->nameLineEdit->setText(m_buildConfiguration->displayName());
......
...@@ -70,10 +70,10 @@ private slots: ...@@ -70,10 +70,10 @@ private slots:
void qtVersionsChanged(); void qtVersionsChanged();
void qtVersionChanged(); void qtVersionChanged();
void buildDirectoryChanged(); void buildDirectoryChanged();
void updateImportLabel();
private: private:
void updateDetails(); void updateDetails();
void updateToolChainCombo(); void updateToolChainCombo();
void updateImportLabel();
Ui::Qt4ProjectConfigWidget *m_ui; Ui::Qt4ProjectConfigWidget *m_ui;
QAbstractButton *m_browseButton; QAbstractButton *m_browseButton;
Qt4BuildConfiguration *m_buildConfiguration; Qt4BuildConfiguration *m_buildConfiguration;
......
Supports Markdown
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