qt4project: remove unneeded cast

Functionality is available in base class.

Change-Id: I795dd3ef0cf535e796b08a3671065b5121582c17
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
hjk
2012-08-02 16:11:18 +02:00
committed by Eike Ziller
parent a3323de814
commit 01b8f2ac8d

View File

@@ -96,7 +96,7 @@ Qt4ProjectConfigWidget::Qt4ProjectConfigWidget(ProjectExplorer::Target *target)
connect(m_ui->shadowBuildDirEdit, SIGNAL(changed(QString)), connect(m_ui->shadowBuildDirEdit, SIGNAL(changed(QString)),
this, SLOT(shadowBuildEdited())); this, SLOT(shadowBuildEdited()));
Qt4Project *project = qobject_cast<Qt4Project *>(target->project()); Project *project = target->project();
if (project) { if (project) {
connect(project, SIGNAL(environmentChanged()), this, SLOT(environmentChanged())); connect(project, SIGNAL(environmentChanged()), this, SLOT(environmentChanged()));
connect(project, SIGNAL(buildDirectoryInitialized()), this, SLOT(updateProblemLabel())); connect(project, SIGNAL(buildDirectoryInitialized()), this, SLOT(updateProblemLabel()));