Commit b64e3e62 authored by Daniel Teske's avatar Daniel Teske

CMakeProjectManger: static_cast instead of qobject_cast

It's a CMakeProject, it must be a CMakeBuildConfiguration

Change-Id: Ibd0907112661a89f7ca84ffdf62a1dbcbd436ed8
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 95d7dd62
......@@ -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(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment