forked from qt-creator/qt-creator
Qt4Target setup page: Do not enable targets without buildconfigurations
Typo in the code found by clang Change-Id: Ibe1b7711625049418792013609467d4d34e0f886 Reviewed-on: http://codereview.qt.nokia.com/364 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -574,7 +574,7 @@ bool Qt4DefaultTargetSetupWidget::isTargetSelected() const
|
||||
void Qt4DefaultTargetSetupWidget::setTargetSelected(bool b)
|
||||
{
|
||||
// Only check target if there are build configurations possible
|
||||
b == b && !buildConfigurationInfos().isEmpty();
|
||||
b &= !buildConfigurationInfos().isEmpty();
|
||||
m_ignoreChange = true;
|
||||
m_detailsWidget->setChecked(b);
|
||||
m_detailsWidget->widget()->setEnabled(b);
|
||||
|
||||
Reference in New Issue
Block a user