forked from qt-creator/qt-creator
Fix show/hide of importing label
This commit is contained in:
@@ -153,6 +153,8 @@ void Qt4ProjectConfigWidget::init(ProjectExplorer::BuildConfiguration *bc)
|
||||
this, SLOT(buildDirectoryChanged()));
|
||||
disconnect(m_buildConfiguration, SIGNAL(qtVersionChanged()),
|
||||
this, SLOT(qtVersionChanged()));
|
||||
disconnect(m_buildConfiguration, SIGNAL(qmakeBuildConfigurationChanged()),
|
||||
this, SLOT(updateImportLabel()));
|
||||
}
|
||||
|
||||
m_buildConfiguration = static_cast<Qt4BuildConfiguration *>(bc);
|
||||
@@ -161,6 +163,8 @@ void Qt4ProjectConfigWidget::init(ProjectExplorer::BuildConfiguration *bc)
|
||||
this, SLOT(buildDirectoryChanged()));
|
||||
connect(m_buildConfiguration, SIGNAL(qtVersionChanged()),
|
||||
this, SLOT(qtVersionChanged()));
|
||||
connect(m_buildConfiguration, SIGNAL(qmakeBuildConfigurationChanged()),
|
||||
this, SLOT(updateImportLabel()));
|
||||
|
||||
m_ui->nameLineEdit->setText(m_buildConfiguration->displayName());
|
||||
|
||||
|
@@ -70,10 +70,10 @@ private slots:
|
||||
void qtVersionsChanged();
|
||||
void qtVersionChanged();
|
||||
void buildDirectoryChanged();
|
||||
void updateImportLabel();
|
||||
private:
|
||||
void updateDetails();
|
||||
void updateToolChainCombo();
|
||||
void updateImportLabel();
|
||||
Ui::Qt4ProjectConfigWidget *m_ui;
|
||||
QAbstractButton *m_browseButton;
|
||||
Qt4BuildConfiguration *m_buildConfiguration;
|
||||
|
Reference in New Issue
Block a user