Commit f3578aa7 authored by dt's avatar dt

Fixes: Allow adding gdbmacrosstep only for Qt4Projects.

Details:  Noticed while working on cmake.
parent 3bf1a306
......@@ -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;
}
......
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