+ auto res = KMessageBox::questionTwoActionsList(parentWidget(), i18n("The following new or updated OpenPGP keys were found in the headers and/or attachments to this message. Do you want to import them?"), keylist, i18n("Import keys"), KGuiItem(i18n("Import")), KStandardGuiItem::cancel());
+ if (res == KMessageBox::PrimaryAction) {
+ // TODO: can we somehow get Kleopatra's dialog, here?
+ auto ctx = GpgME::Context::create(GpgME::Protocol::OpenPGP);