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

File delete confirm dialogs: avoid Yes/No buttons

Yes/No buttons in dialogs are discouraged (not only) by KDE HIG in favour
of actions terms.
parent 5d71c1cd
Pipeline #201161 passed with stage
in 13 minutes and 33 seconds
......@@ -780,8 +780,8 @@ void KateFileTree::slotDocumentDelete()
bool go = (KMessageBox::warningContinueCancel(this,
i18n("Do you really want to delete file \"%1\" from storage?", url.toDisplayString()),
i18n("Delete file?"),
KStandardGuiItem::yes(),
KStandardGuiItem::no(),
KStandardGuiItem::del(),
KStandardGuiItem::cancel(),
QStringLiteral("filetreedeletefile"))
== KMessageBox::Continue);
......
......@@ -129,8 +129,8 @@ void KateFileActions::deleteDocumentFile(QWidget *parent, KTextEditor::Document
bool go = (KMessageBox::warningContinueCancel(parent,
i18n("Do you really want to delete file \"%1\"?", url.toDisplayString()),
i18n("Delete file"),
KStandardGuiItem::yes(),
KStandardGuiItem::no(),
KStandardGuiItem::del(),
KStandardGuiItem::cancel(),
QStringLiteral("filetreedeletefile"))
== KMessageBox::Continue);
......
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