Commit 3924d99e authored by dt_'s avatar dt_ Committed by Daniel Teske
Browse files

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: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 1e2bf162
......@@ -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);
......
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