CMakeProjectManger: static_cast instead of qobject_cast

It's a CMakeProject, it must be a CMakeBuildConfiguration

Change-Id: Ibd0907112661a89f7ca84ffdf62a1dbcbd436ed8
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Daniel Teske
2012-07-04 13:05:52 +02:00
parent 95d7dd6231
commit b64e3e6235

View File

@@ -119,9 +119,7 @@ void CMakeManager::runCMake(ProjectExplorer::Project *project)
return;
CMakeBuildConfiguration *bc
= qobject_cast<CMakeBuildConfiguration *>(cmakeProject->activeTarget()->activeBuildConfiguration());
if (!bc)
return;
= static_cast<CMakeBuildConfiguration *>(cmakeProject->activeTarget()->activeBuildConfiguration());
CMakeOpenProjectWizard copw(this,
cmakeProject->projectDirectory(),