aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-07-05 13:44:32 +0200
committerMontel Laurent <[email protected]>2017-07-05 13:44:32 +0200
commit69fcf0f9181a1cfc850941b86a5891a939630cec (patch)
tree6a104488dbedf9eb85b5454db8437520911cd2b2
parent0a6a1d9702660be87e26bee4cca23463e2e3fab4 (diff)
Use nullptr
-rw-r--r--src/emptytrashcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emptytrashcommand.cpp b/src/emptytrashcommand.cpp
index e903746..1e0e07c 100644
--- a/src/emptytrashcommand.cpp
+++ b/src/emptytrashcommand.cpp
@@ -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) {