Home GnuPG

Fix canceling of import command

Description

Fix canceling of import command

If a job is canceled, then the result signal is still emitted. This
caused an assert (or a crash) because in doCancel() the list of jobs
was cleared, but in the slot connected to the result signal the job
was still looked up in the (empty) list of jobs.

To fix this we disconnect all connections and call the importResult() slot
manually for all canceled jobs.

Details

Provenance
ikloeckerAuthored on Feb 4 2022, 3:18 PM
Parents
rKLEOPATRA9d66f48df306: Fix check for missing certification keys
Branches
Unknown
Tags
Unknown
Tasks
T5805: Kleopatra or GnuPG: Auto retrieve signers key