fix for #44819, the kpgp code aborted KNComposer::applyChanges() if the signing key can't be determined and if the user presses "Cancel" in the confirmation dialog that is shown in this case. Aborting applyChanges() is bad, because that will delete the newly created message. easy Fix: move the checking code and the confirmation dialog to KNComposer::hasValidData(), where it belongs.
fix for #44819, the kpgp code aborted KNComposer::applyChanges() if the
signing key can't be determined and if the user presses "Cancel" in
the confirmation dialog that is shown in this case. Aborting applyChanges()
is bad, because that will delete the newly created message.
easy Fix: move the checking code and the confirmation dialog to
KNComposer::hasValidData(), where it belongs.

svn path=/trunk/kdenetwork/knode/; revision=187637

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi