Commit 032c04e8 authored by Laurent Montel's avatar Laurent Montel 😁

USe nullptr

parent cd4e3272
......@@ -146,7 +146,7 @@ bool ApplicationGnuPGWKSUrlHandler::sendConfirmation(MessageViewer::Viewer *view
}
// No transport exists, ask user to create one
if (transportId == -1) {
if (!transportMgr->showTransportCreationDialog(0, MailTransport::TransportManager::IfNoTransportExists)) {
if (!transportMgr->showTransportCreationDialog(nullptr, MailTransport::TransportManager::IfNoTransportExists)) {
return false;
}
transportId = transportMgr->defaultTransportId();
......
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