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:
Daniel Teske
2012-07-13 17:14:42 +02:00
parent c23bf0daa5
commit 8d8ab020b1
15 changed files with 12 additions and 61 deletions

View File

@@ -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()