Among other things this fixes crash in KMail when switching to the Cryptograpy tab in Identity dialog.