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