Commit b64e3e62 authored by Daniel Teske's avatar Daniel Teske
Browse files

CMakeProjectManger: static_cast instead of qobject_cast

It's a CMakeProject, it must be a CMakeBuildConfiguration

Change-Id: Ibd0907112661a89f7ca84ffdf62a1dbcbd436ed8
Reviewed-by: default avatarTobias Hunger <>
parent 95d7dd62
......@@ -119,9 +119,7 @@ void CMakeManager::runCMake(ProjectExplorer::Project *project)
CMakeBuildConfiguration *bc
= qobject_cast<CMakeBuildConfiguration *>(cmakeProject->activeTarget()->activeBuildConfiguration());
if (!bc)
= static_cast<CMakeBuildConfiguration *>(cmakeProject->activeTarget()->activeBuildConfiguration());
CMakeOpenProjectWizard copw(this,
Supports Markdown
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