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

Use action texts for buttons of confirmation dialog

parent c845d8b3
Pipeline #94388 passed with stage
in 6 minutes and 50 seconds
......@@ -121,7 +121,9 @@ void MarkAsCommand::execute()
if (d->mRecursive && !d->mFolders.isEmpty()) {
if (KMessageBox::questionYesNo(qobject_cast<QWidget *>(parent()),
i18n("Are you sure you want to mark all messages in this folder and all its subfolders?"),
i18n("Mark All Recursively"))
i18n("Mark All Recursively"),
KGuiItem(i18nc("@action:button", "Mark All")),
KStandardGuiItem::cancel())
== KMessageBox::Yes) {
auto job = new Akonadi::CollectionFetchJob(d->mFolders.constFirst());
connect(job, &Akonadi::CollectionFetchJob::result, this, &MarkAsCommand::slotCollectionFetchDone);
......
Markdown is supported
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