Commit cc335cca authored by dt's avatar dt
Browse files

TargetSetupPage: Incorrect logic for detecting per bc warnings

parent 53b7d91c
......@@ -570,7 +570,7 @@ void Qt4DefaultTargetSetupWidget::setBuildConfigurationInfos(const QList<BuildCo
m_pathChoosers[i]->setPath(info.directory);
else
m_pathChoosers[i]->setPath(sourceDir);
foundIssues &= reportIssues(i);
foundIssues |= reportIssues(i);
}
m_ignoreChange = false;
if (foundIssues)
......@@ -631,7 +631,7 @@ void Qt4DefaultTargetSetupWidget::setupWidgets()
m_checkboxes.append(checkbox);
m_pathChoosers.append(pathChooser);
m_reportIssuesLabels.append(reportIssuesLabel);
foundIssues = reportIssues(i);
foundIssues |= reportIssues(i);
}
if (foundIssues)
m_detailsWidget->setState(Utils::DetailsWidget::Expanded);
......
Supports Markdown
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