Skip to content
Snippets Groups Projects
Commit 01b8f2ac authored by hjk's avatar hjk Committed by Eike Ziller
Browse files

qt4project: remove unneeded cast


Functionality is available in base class.

Change-Id: I795dd3ef0cf535e796b08a3671065b5121582c17
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent a3323de8
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ Qt4ProjectConfigWidget::Qt4ProjectConfigWidget(ProjectExplorer::Target *target) ...@@ -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()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment