forked from qt-creator/qt-creator
Fix lone warning icon
Change-Id: I94eab64442a89571dd0323f76cacda89cf39e309 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Daniel Teske
parent
2f88a46e4e
commit
05be9bbdf5
@@ -296,7 +296,7 @@ void Qt4ProjectConfigWidget::updateProblemLabel()
|
||||
m_ui->problemLabel->setText(shadowBuildWarning +tr("An incompatible build exists in %1, which will be overwritten.",
|
||||
"%1 build directory")
|
||||
.arg(m_ui->shadowBuildDirEdit->path()));
|
||||
} else if (shadowBuildWarning.isEmpty()) {
|
||||
} else if (!shadowBuildWarning.isEmpty()) {
|
||||
m_ui->warningLabel->setVisible(true);
|
||||
m_ui->problemLabel->setVisible(true);
|
||||
m_ui->problemLabel->setText(shadowBuildWarning);
|
||||
|
||||
Reference in New Issue
Block a user