Commit 014154e1 authored by Daniel Teske's avatar Daniel Teske Committed by Eike Ziller
Browse files

Don't ask the user if a buildstep reported non success



Change-Id: I636d24eaadbf93df8dac1cf362d1d753c9660fa6
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 1df87ae0
......@@ -1557,19 +1557,17 @@ void ProjectExplorerPlugin::buildQueueFinished(bool success)
updateActions();
bool ignoreErrors = true;
if (d->m_delayedRunConfiguration) {
if (d->m_buildManager->getErrorTaskCount() > 0) {
ignoreErrors = QMessageBox::question(Core::ICore::instance()->mainWindow(),
tr("Ignore all errors?"),
tr("Found some build errors in current task.\n"
"Do you want to ignore them?"),
QMessageBox::Yes | QMessageBox::No,
QMessageBox::No) == QMessageBox::Yes;
}
bool ignoreErrors = false;
if (d->m_delayedRunConfiguration && success && d->m_buildManager->getErrorTaskCount() > 0) {
ignoreErrors = QMessageBox::question(Core::ICore::instance()->mainWindow(),
tr("Ignore all errors?"),
tr("Found some build errors in current task.\n"
"Do you want to ignore them?"),
QMessageBox::Yes | QMessageBox::No,
QMessageBox::No) == QMessageBox::Yes;
}
if (success && ignoreErrors && d->m_delayedRunConfiguration) {
if ((success || ignoreErrors) && d->m_delayedRunConfiguration) {
executeRunConfiguration(d->m_delayedRunConfiguration, d->m_runMode);
} else {
if (d->m_buildManager->tasksAvailable())
......
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