QbsProjectManager: Fix display of QML debugging warning icon

Due to a typo in the code, it was almost never shown, except initially
when it shouldn't have been.

Change-Id: I8d5ab3f28fddde7b996d3ca74bc69f2f549bedc1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2018-02-09 11:19:31 +01:00
parent fb4f3643fa
commit e463873d62

View File

@@ -564,7 +564,7 @@ QbsBuildStepConfigWidget::QbsBuildStepConfigWidget(QbsBuildStep *step) :
QString *errorMessage) {
return validateProperties(edit, errorMessage);
});
m_ui->qmlDebuggingWarningText->setPixmap(Utils::Icons::WARNING.pixmap());
m_ui->qmlDebuggingWarningIcon->setPixmap(Utils::Icons::WARNING.pixmap());
connect(m_ui->buildVariantComboBox,
static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged),