Commit a6dd7a7b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use nullptr

parent 406a22fc
......@@ -17,7 +17,7 @@ int main(int argc, char **argv)
QApplication::setApplicationVersion(QStringLiteral("1.0"));
KSieveUi::SieveImapInstanceInterfaceManager::self()->setSieveImapInstanceInterface(new KMailSieveImapInstanceInterface);
KMSieveImapPasswordProvider provider(0);
KMSieveImapPasswordProvider provider(nullptr);
auto *dlg = new KSieveUi::ManageSieveScriptsDialog(&provider);
dlg->show();
return app.exec();
......
......@@ -26,7 +26,7 @@ int main(int argc, char **argv)
app.setQuitOnLastWindowClosed(true);
KSieveUi::SieveImapInstanceInterfaceManager::self()->setSieveImapInstanceInterface(new KMailSieveImapInstanceInterface);
KMSieveImapPasswordProvider provider(0);
KMSieveImapPasswordProvider provider(nullptr);
KSieveUi::MultiImapVacationManager manager(&provider);
KSieveUi::MultiImapVacationDialog dlg(&manager);
QObject::connect(&dlg, &KSieveUi::MultiImapVacationDialog::okClicked, &app, &QApplication::quit);
......
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