forked from qt-creator/qt-creator
CMake: Stop progressindicator on build settings widget on error
Change-Id: I75051aa23baa88d984092ba594dda72c489d7c19 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
4f8769d844
commit
c9f7aef71d
@@ -210,6 +210,11 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeBuildConfiguration *bc)
|
|||||||
m_showProgressTimer.stop();
|
m_showProgressTimer.stop();
|
||||||
m_progressIndicator->hide();
|
m_progressIndicator->hide();
|
||||||
});
|
});
|
||||||
|
connect(m_buildConfiguration, &CMakeBuildConfiguration::errorOccured,
|
||||||
|
this, [this]() {
|
||||||
|
m_showProgressTimer.stop();
|
||||||
|
m_progressIndicator->hide();
|
||||||
|
});
|
||||||
|
|
||||||
connect(m_configModel, &QAbstractItemModel::dataChanged,
|
connect(m_configModel, &QAbstractItemModel::dataChanged,
|
||||||
this, &CMakeBuildSettingsWidget::updateButtonState);
|
this, &CMakeBuildSettingsWidget::updateButtonState);
|
||||||
|
|||||||
Reference in New Issue
Block a user