forked from qt-creator/qt-creator
Qt4ProjectManager: Small refactoring in reportIssues
Do not report project dir specific issues next to each buildconfiguration. Also move the code to a place the TargetSetupPage can easily use, without having a hardcoded target list. Note: They currently aren't shown at all, next step is to show them once per target. Reviewed-By: hunger
This commit is contained in:
@@ -368,7 +368,8 @@ void Qt4ProjectConfigWidget::updateImportLabel()
|
||||
if (m_buildConfiguration->shadowBuild())
|
||||
buildDirectory = m_buildConfiguration->buildDirectory();
|
||||
QList<ProjectExplorer::Task> issues = m_buildConfiguration->qtVersion()->reportIssues(m_buildConfiguration->target()->project()->file()->fileName(),
|
||||
buildDirectory);
|
||||
buildDirectory,
|
||||
true);
|
||||
|
||||
if (incompatibleBuild) {
|
||||
m_ui->problemLabel->setVisible(true);
|
||||
|
||||
Reference in New Issue
Block a user