Skip to content
Snippets Groups Projects
Commit f3578aa7 authored by dt's avatar dt
Browse files

Fixes: Allow adding gdbmacrosstep only for Qt4Projects.

Details:  Noticed while working on cmake.
parent 3bf1a306
No related branches found
No related tags found
No related merge requests found
......@@ -169,7 +169,7 @@ ProjectExplorer::BuildStep *GdbMacrosBuildStepFactory::create(ProjectExplorer::P
QStringList GdbMacrosBuildStepFactory::canCreateForProject(ProjectExplorer::Project *pro) const
{
QStringList results;
if (qobject_cast<QObject *>(pro))
if (qobject_cast<Qt4Project *>(pro))
results << Constants::GDBMACROSBUILDSTEP;
return results;
}
......
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