Commit 1f917d20 authored by dt's avatar dt
Browse files

Qt4ProjectManager: Fix Maemo runconfiguration isEnabled

Reviewed-By: hunger
parent 591ac2c3
......@@ -125,10 +125,7 @@ bool MaemoRunConfiguration::isEnabled(ProjectExplorer::BuildConfiguration *confi
{
if (!m_validParse)
return false;
Qt4BuildConfiguration *qt4bc = qobject_cast<Qt4BuildConfiguration*>(config);
QTC_ASSERT(qt4bc, return false);
const ProjectExplorer::ToolChainType type = qt4bc->toolChainType();
return type == ProjectExplorer::ToolChain_GCC_MAEMO;
return true;
}
QWidget *MaemoRunConfiguration::createConfigurationWidget()
......
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