forked from qt-creator/qt-creator
TargetSetupPage: Hide "add Build" for shadow incapble targets
There can't be any builds anywhere Reviewed-By: hunger
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user