forked from qt-creator/qt-creator
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:
@@ -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()));
|
||||||
|
|||||||
Reference in New Issue
Block a user