forked from qt-creator/qt-creator
Make buildDirectoryInitialized a Qt4Project specific signal again
And fix it to the old behaviour while at it. Change-Id: Ifd786e085c621fb3cd59b98cc665d9e3c7fcce51 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -96,11 +96,9 @@ Qt4ProjectConfigWidget::Qt4ProjectConfigWidget(ProjectExplorer::Target *target)
|
||||
connect(m_ui->shadowBuildDirEdit, SIGNAL(changed(QString)),
|
||||
this, SLOT(shadowBuildEdited()));
|
||||
|
||||
Project *project = target->project();
|
||||
if (project) {
|
||||
connect(project, SIGNAL(environmentChanged()), this, SLOT(environmentChanged()));
|
||||
connect(project, SIGNAL(buildDirectoryInitialized()), this, SLOT(updateProblemLabel()));
|
||||
}
|
||||
Qt4Project *project = static_cast<Qt4Project *>(target->project());
|
||||
connect(project, SIGNAL(environmentChanged()), this, SLOT(environmentChanged()));
|
||||
connect(project, SIGNAL(buildDirectoryInitialized()), this, SLOT(updateProblemLabel()));
|
||||
}
|
||||
|
||||
Qt4ProjectConfigWidget::~Qt4ProjectConfigWidget()
|
||||
|
||||
Reference in New Issue
Block a user