Commit d9a9df9c authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau Committed by Christoph Cullmann
Browse files

File browser: avoid Yes/No buttons in dialog

Yes/No buttons are discouraged by KDE HIG in favour of action terms
parent 2491938c
Pipeline #199117 passed with stage
in 11 minutes and 21 seconds
......@@ -303,7 +303,10 @@ void KateFileBrowser::openSelectedFiles()
if (list.count() > 20) {
if (KMessageBox::questionYesNo(this,
i18np("You are trying to open 1 file, are you sure?", "You are trying to open %1 files, are you sure?", list.count()))
i18np("You are trying to open 1 file, are you sure?", "You are trying to open %1 files, are you sure?", list.count()),
{},
KGuiItem(i18nc("@action:button", "Open All Files"), QStringLiteral("document-open")),
KStandardGuiItem::cancel())
== 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