Commit 05be9bbd authored by Tobias Hunger's avatar Tobias Hunger Committed by Daniel Teske

Fix lone warning icon

Change-Id: I94eab64442a89571dd0323f76cacda89cf39e309
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 2f88a46e
......@@ -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);
......
Markdown is supported
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