SmtpJob: Fix use of KCompositeJob
SmtpJob overrides slotResult, but this had two issues. First, it connected to LoginJob::result itself, though addJob already does that. Second, in two cases it did not remove finished jobs from the list of subjobs, leading to dangling pointers and messing up state.
With libkgapi!33 (merged), this should fix:
Edited by Fabian Vogt