diff options
author | dt_ <qtc-committer@nokia.com> | 2011-06-07 16:56:37 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@nokia.com> | 2011-06-07 17:40:32 +0200 |
commit | 3924d99e71e0e06e37f95d89069841ac3558f6ac (patch) | |
tree | dd935fdf803a123f4da6aa437ea17d9dbdf581b4 /src/plugins/qt4projectmanager/qt4target.cpp | |
parent | 1e2bf162f5dacf07aaca46410199cf0499c95d0d (diff) | |
download | qt-creator-3924d99e71e0e06e37f95d89069841ac3558f6ac.tar.gz |
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>
Diffstat (limited to 'src/plugins/qt4projectmanager/qt4target.cpp')
-rw-r--r-- | src/plugins/qt4projectmanager/qt4target.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qt4projectmanager/qt4target.cpp b/src/plugins/qt4projectmanager/qt4target.cpp index 630d962af1..5b2e1e445d 100644 --- a/src/plugins/qt4projectmanager/qt4target.cpp +++ b/src/plugins/qt4projectmanager/qt4target.cpp @@ -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); |