Skip to content
Snippets Groups Projects
Commit 0190c273 authored by Daniel Teske's avatar Daniel Teske
Browse files

Run QMake, static_cast not qobject_cast


Change-Id: Ib9be214838d8e10dbd1a870d894bf7485265a43e
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 87e76e7e
No related branches found
No related tags found
No related merge requests found
......@@ -377,10 +377,7 @@ void Qt4Manager::runQMake(ProjectExplorer::Project *p, ProjectExplorer::Node *no
!qt4pro->activeTarget()->activeBuildConfiguration())
return;
Qt4BuildConfiguration *bc = qobject_cast<Qt4BuildConfiguration *>(qt4pro->activeTarget()->activeBuildConfiguration());
if (!bc)
return;
Qt4BuildConfiguration *bc = static_cast<Qt4BuildConfiguration *>(qt4pro->activeTarget()->activeBuildConfiguration());
QMakeStep *qs = bc->qmakeStep();
if (!qs)
return;
......
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