diff --git a/kdesudo/kdesudo.cpp b/kdesudo/kdesudo.cpp index 3ce708c5..d2fdf2f5 100644 --- a/kdesudo/kdesudo.cpp +++ b/kdesudo/kdesudo.cpp @@ -65,10 +65,14 @@ KdeSudo::KdeSudo(const QString &icon, const QString &appname) bool attach = args->isSet("attach"); if (!args->isSet("c") && !args->count()) { - KMessageBox::information(0, i18n("No command arguments supplied!\n" - "Usage: kdesudo [-u ] \n" - "KdeSudo will now exit...") - ); + KMessageBox::information( + nullptr, + i18n( + "No command arguments supplied!\n" + "Usage: kdesudo [-u ] \n" + "KdeSudo will now exit..." + ) + ); exit(0); }