Commit 4db96355 authored by Eric Jiang's avatar Eric Jiang Committed by Jean-Baptiste Mardelle
Browse files

warningContinueCancel -> error

Since there's only one choice in the dialog, no need to show two
buttons. This also quiets a static analysis warning about not checking
the return value.
parent 0172979c
Pipeline #210505 passed with stage
in 6 minutes and 27 seconds
......@@ -409,7 +409,7 @@ RenderPresetDialog::RenderPresetDialog(QWidget *parent, RenderPresetModel *prese
QString newPresetName = preset_name->text().simplified();
if (newPresetName.isEmpty()) {
KMessageBox::warningContinueCancel(this, i18n("The preset name can't be empty"));
KMessageBox::error(this, i18n("The preset name can't be empty"));
QString newGroupName = groupName->currentText().simplified();
Supports Markdown
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