Commit c3f8f62f authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Fix dialogs in ProjectExplorerPlugin::buildQueueFinished().

Use ICore::dialogParent(), fix capitalization, remove exclamation
mark and trailing newline.

Change-Id: Ia9b28aeb95e2047595173b41fc69dcf6326e0f1f
Reviewed-by: default avatarLeena Miettinen <>
parent 64c47792
......@@ -1750,18 +1750,18 @@ void ProjectExplorerPlugin::buildQueueFinished(bool success)
bool ignoreErrors = true;
if (!d->m_delayedRunConfiguration.isNull() && success && BuildManager::getErrorTaskCount() > 0) {
ignoreErrors = QMessageBox::question(ICore::mainWindow(),
tr("Ignore all errors?"),
ignoreErrors = QMessageBox::question(ICore::dialogParent(),
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 (d->m_delayedRunConfiguration.isNull() && d->m_shouldHaveRunConfiguration) {
tr("Run Configuration removed!"),
tr("The Configuration that was supposed to run is no longer "
"available.\n"), QMessageBox::Ok);
tr("Run Configuration Removed"),
tr("The configuration that was supposed to run is no longer "
"available."), QMessageBox::Ok);
if (success && ignoreErrors && !d->m_delayedRunConfiguration.isNull()) {
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