Commit 00b7174e authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Use the display serial number provided by the card

GnuPG-bug-id: 5066
parent bbe8d775
......@@ -218,8 +218,7 @@ void PGPCardWidget::setCard(const OpenPGPCard *card)
i18nc("Placeholder is a version number", "Unknown OpenPGP v%1 card", version) :
i18nc("First placeholder is manufacturer, second placeholder is a version number",
"%1 OpenPGP v%2 card", manufacturer, version));
const QString sn = QString::fromStdString(card->serialNumber()).mid(16, 12);
mRealSerial = card->serialNumber();
const auto holder = QString::fromStdString(card->cardHolder());
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