Commit f8258c38 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use action texts for buttons of confirmation dialog

parent 3075df7d
Pipeline #94065 passed with stage
in 7 minutes and 45 seconds
......@@ -128,7 +128,9 @@ void TransportManagementWidgetPrivate::removeClicked()
}
const int rc = KMessageBox::questionYesNo(q,
i18n("Do you want to remove outgoing account '%1'?", ui.transportList->currentItem()->text(0)),
i18n("Remove outgoing account?"));
i18n("Remove outgoing account?"),
KStandardGuiItem::remove(),
KStandardGuiItem::cancel());
if (rc == KMessageBox::No) {
return;
}
......
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