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

Use action texts for buttons of confirmation dialog

parent 9932ee33
Pipeline #94271 passed with stage
in 7 minutes and 42 seconds
......@@ -412,7 +412,12 @@ void ArticleViewerWebEngine::forwardMouseReleaseEvent(QMouseEvent *event)
bool ArticleViewerWebEngine::urlIsAMalwareButContinue()
{
if (KMessageBox::No == KMessageBox::warningYesNo(this, i18n("This web site is a malware, do you want to continue to show it?"), i18n("Malware"))) {
if (KMessageBox::No
== KMessageBox::warningYesNo(this,
i18n("This web site is a malware, do you want to continue to show it?"),
i18n("Malware"),
KStandardGuiItem::cont(),
KStandardGuiItem::cancel())) {
return false;
}
return true;
......
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