Fix lone warning icon

Change-Id: I94eab64442a89571dd0323f76cacda89cf39e309
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Tobias Hunger
2012-09-18 17:43:04 +02:00
committed by Daniel Teske
parent 2f88a46e4e
commit 05be9bbdf5

View File

@@ -296,7 +296,7 @@ void Qt4ProjectConfigWidget::updateProblemLabel()
m_ui->problemLabel->setText(shadowBuildWarning +tr("An incompatible build exists in %1, which will be overwritten.", m_ui->problemLabel->setText(shadowBuildWarning +tr("An incompatible build exists in %1, which will be overwritten.",
"%1 build directory") "%1 build directory")
.arg(m_ui->shadowBuildDirEdit->path())); .arg(m_ui->shadowBuildDirEdit->path()));
} else if (shadowBuildWarning.isEmpty()) { } else if (!shadowBuildWarning.isEmpty()) {
m_ui->warningLabel->setVisible(true); m_ui->warningLabel->setVisible(true);
m_ui->problemLabel->setVisible(true); m_ui->problemLabel->setVisible(true);
m_ui->problemLabel->setText(shadowBuildWarning); m_ui->problemLabel->setText(shadowBuildWarning);