Home GnuPG

Fix crash in key lookup

Description

Fix crash in key lookup

std::sort expects a lambda returning a bool for whether the first element is smaller than the second one.
qstricmp returns an int in the strcmp style, which brings std::sort into an unpredictable state.

(cherry picked from commit 9b3730193ad13d93e6fded47340c9a1b13ad7718)

Details

Provenance
TobiasFellaAuthored on Jun 17 2024, 2:17 PM
ikloeckerCommitted on Jun 17 2024, 4:53 PM
Parents
rKLEOPATRA32a15bbb4023: Don't show success message on error or cancelation
Branches
Unknown
Tags
Unknown
Tasks
T7158: Kleopatra: Crash when doing a lookup on server