Commit 01fed186 authored by Daniel Teske's avatar Daniel Teske

Remove one messagebox when removing a buildconfiguration

Since the user is asked twice atm.

Change-Id: I07221c47ab96bd9881d611cc2070ef43333cd2a0
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 33f65768
......@@ -299,14 +299,6 @@ void BuildSettingsWidget::cloneConfiguration()
void BuildSettingsWidget::deleteConfiguration()
{
QMessageBox msgBox(QMessageBox::Question, tr("Remove Build Configuration"),
tr("Do you really want to delete the build configuration <b>%1</b>?").arg(m_buildConfiguration->displayName()),
QMessageBox::Yes|QMessageBox::No, this);
msgBox.setDefaultButton(QMessageBox::No);
msgBox.setEscapeButton(QMessageBox::No);
if (msgBox.exec() == QMessageBox::No)
return;
deleteConfiguration(m_buildConfiguration);
}
......
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