Skip to content
Commit 1bae2b0b authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

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.

GnuPG-bug-id: 5805
parent 9d66f48d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment