TargetSetupPage: Hide "add Build" for shadow incapble targets

There can't be any builds anywhere

Reviewed-By: hunger
This commit is contained in:
dt
2011-04-15 12:34:55 +02:00
parent 77d0637fb6
commit 07c0e56615

View File

@@ -462,6 +462,7 @@ void Qt4DefaultTargetSetupWidget::setShadowBuildSupported(bool b)
{ {
// if shadow building is supported we want to enable it, unless we have a in source build // if shadow building is supported we want to enable it, unless we have a in source build
m_shadowBuildEnabled->setChecked(b && !m_hasInSourceBuild); m_shadowBuildEnabled->setChecked(b && !m_hasInSourceBuild);
m_importLineButton->setVisible(b);
} }
void Qt4DefaultTargetSetupWidget::setShadowBuildCheckBoxVisible(bool b) void Qt4DefaultTargetSetupWidget::setShadowBuildCheckBoxVisible(bool b)