Commit 69fcf0f9 authored by Laurent Montel's avatar Laurent Montel 😁

Use nullptr

parent 0a6a1d97
......@@ -59,7 +59,7 @@ void EmptyTrashCommand::execute()
if (!mFolder.isValid()) { //expunge all
const QString title = i18n("Empty Trash");
const QString text = i18n("Are you sure you want to empty the trash folders of all accounts?");
if (KMessageBox::warningContinueCancel(0, text, title,
if (KMessageBox::warningContinueCancel(nullptr, text, title,
KStandardGuiItem::cont(), KStandardGuiItem::cancel(),
QStringLiteral("confirm_empty_trash"))
!= KMessageBox::Continue) {
......
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