summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-09-05 07:52:15 +0200
committerMontel Laurent <[email protected]>2017-09-05 07:52:15 +0200
commit18001f3fb94f5b29d8779f73bf8e70c5a5611d07 (patch)
tree3dd1e8a26dc331eb5613f1a5c7dc55403cb3ebe5
parente92ed7733e0522f14223429794eeb2f815648a8c (diff)
Write code for changing smtp value
-rw-r--r--kmail/editorsendcheckplugins/checkbeforesend/checkbeforesendinterface.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/kmail/editorsendcheckplugins/checkbeforesend/checkbeforesendinterface.cpp b/kmail/editorsendcheckplugins/checkbeforesend/checkbeforesendinterface.cpp
index d7a6f8d..368ece2 100644
--- a/kmail/editorsendcheckplugins/checkbeforesend/checkbeforesendinterface.cpp
+++ b/kmail/editorsendcheckplugins/checkbeforesend/checkbeforesendinterface.cpp
@@ -63,9 +63,14 @@ bool CheckBeforeSendInterface::exec(const MessageComposer::PluginEditorCheckBefo
delete dlg;
return false;
}
- bool updateSmtp = dlg->changeSmtp();
- //TODO
- delete dlg;
+ if (dlg->changeSmtp()) {
+ /*
+ identity.setTransport(QString::number(params.transportId()));
+ identity.writeConfig(...)
+ */
+ //TODO
+ }
+ delete dlg;
}
}
if (mCheckDuplicateEmails) {