diff --git a/src/widgets/jobuidelegate.cpp b/src/widgets/jobuidelegate.cpp index 7f353626903a88c5206c9e407b4df17c1ff6fe1d..994cf859879d916387c79fd1d50f9fd5466800c9 100644 --- a/src/widgets/jobuidelegate.cpp +++ b/src/widgets/jobuidelegate.cpp @@ -283,7 +283,7 @@ bool KIO::JobUiDelegate::askDeleteConfirmation(const QList &urls, Deletion "cannot be undone.", prettyList.first()), i18n("Delete Permanently"), - KStandardGuiItem::del(), + KGuiItem(i18nc("@action:button", "Delete Permanently"), QStringLiteral("edit-delete")), KStandardGuiItem::cancel(), keyName, options); @@ -297,7 +297,7 @@ bool KIO::JobUiDelegate::askDeleteConfirmation(const QList &urls, Deletion prettyList.count()), prettyList, i18n("Delete Permanently"), - KStandardGuiItem::del(), + KGuiItem(i18nc("@action:button", "Delete Permanently"), QStringLiteral("edit-delete")), KStandardGuiItem::cancel(), keyName, options); diff --git a/src/widgets/widgetsaskuseractionhandler.cpp b/src/widgets/widgetsaskuseractionhandler.cpp index af42666145d1f8d689995df06618d2e4e788996f..9909d1c39292fd941def404f63151e230ed733cf 100644 --- a/src/widgets/widgetsaskuseractionhandler.cpp +++ b/src/widgets/widgetsaskuseractionhandler.cpp @@ -232,7 +232,7 @@ static ProcessAskDeleteResult processAskDelete(const QList &urls, AskIface "This action cannot be undone.", urlCount); } - res.acceptButton = KStandardGuiItem::del(); + res.acceptButton = KGuiItem(i18nc("@action:button", "Delete Permanently"), QStringLiteral("edit-delete")); break; } case AskIface::DeleteInsteadOfTrash: { @@ -254,7 +254,7 @@ static ProcessAskDeleteResult processAskDelete(const QList &urls, AskIface "This action cannot be undone.", urlCount); } - res.acceptButton = KStandardGuiItem::del(); + res.acceptButton = KGuiItem(i18nc("@action:button", "Delete Permanently"), QStringLiteral("edit-delete")); break; } case AskIface::EmptyTrash: {