Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -574,7 +574,7 @@ bool Qt4DefaultTargetSetupWidget::isTargetSelected() const ...@@ -574,7 +574,7 @@ bool Qt4DefaultTargetSetupWidget::isTargetSelected() const
void Qt4DefaultTargetSetupWidget::setTargetSelected(bool b) void Qt4DefaultTargetSetupWidget::setTargetSelected(bool b)
{ {
// Only check target if there are build configurations possible // Only check target if there are build configurations possible
b == b && !buildConfigurationInfos().isEmpty(); b &= !buildConfigurationInfos().isEmpty();
m_ignoreChange = true; m_ignoreChange = true;
m_detailsWidget->setChecked(b); m_detailsWidget->setChecked(b);
m_detailsWidget->widget()->setEnabled(b); m_detailsWidget->widget()->setEnabled(b);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment