Commit ab1fe0f5 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

KeySelectionCombo: don't show keyID

parent ea628492
......@@ -165,11 +165,10 @@ public:
name = dn[QStringLiteral("CN")];
email = dn[QStringLiteral("EMAIL")];
}
return i18nc("Name <email> (type, created: date, 0xkeyID)", "%1 (%2, created: %3, %4)",
return i18nc("Name <email> (type, created: date)", "%1 (%2, created: %3)",
email.isEmpty() ? name : name.isEmpty() ? email : i18nc("Name <email>", "%1 <%2>", name, email),
key.protocol() == GpgME::OpenPGP ? i18n("OpenPGP") : i18n("S/MIME"),
Kleo::Formatting::creationDateString(key),
Kleo::Formatting::prettyKeyID(key.shortKeyID()));
Kleo::Formatting::creationDateString(key));
}
case Qt::DecorationRole:
return Kleo::Formatting::iconForUid(key.userID(0));
......
Supports Markdown
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