aboutsummaryrefslogtreecommitdiffstats
path: root/keyimportdetaildialog.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-04 21:58:08 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-04 21:58:08 +0000
commit55d683a52d5014cd2e377bc0d8453cac5db930b9 (patch)
tree59e9e741f3131c5f60c4f8bc15378b69d59c313d /keyimportdetaildialog.cpp
parentalso make additional uids selectable in key detial dialog (diff)
downloadgpg4usb-55d683a52d5014cd2e377bc0d8453cac5db930b9.tar.gz
gpg4usb-55d683a52d5014cd2e377bc0d8453cac5db930b9.zip
show fingerprint instead of keyid in import detail dialog
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@726 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keyimportdetaildialog.cpp')
-rw-r--r--keyimportdetaildialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyimportdetaildialog.cpp b/keyimportdetaildialog.cpp
index 23c3d7a..4072d80 100644
--- a/keyimportdetaildialog.cpp
+++ b/keyimportdetaildialog.cpp
@@ -26,7 +26,7 @@ KeyImportDetailDialog::KeyImportDetailDialog(GpgME::GpgContext* ctx, GpgImportIn
{
mCtx = ctx;
mResult = result;
- // If no key for import found, just ahow a message
+ // If no key for import found, just show a message
if (mResult.considered == 0) {
QMessageBox::information(0, tr("Key import details"), tr("No keys found to import"));
return;
@@ -96,7 +96,7 @@ void KeyImportDetailDialog::createKeysTable()
keysTable->setSelectionMode(QAbstractItemView::NoSelection);
QStringList headerLabels;
- headerLabels << tr("Name") << tr("Email") << tr("KeyID") << tr("Status");
+ headerLabels << tr("Name") << tr("Email") << tr("Fingerprint") << tr("Status");
keysTable->horizontalHeader()->setResizeMode(0, QHeaderView::ResizeToContents);
keysTable->horizontalHeader()->setStretchLastSection(true);
@@ -108,7 +108,7 @@ void KeyImportDetailDialog::createKeysTable()
GpgKey key = mCtx->getKeyByFpr(impKey.fpr);
keysTable->setItem(row, 0, new QTableWidgetItem(key.name));
keysTable->setItem(row, 1, new QTableWidgetItem(key.email));
- keysTable->setItem(row, 2, new QTableWidgetItem(key.id));
+ keysTable->setItem(row, 2, new QTableWidgetItem(impKey.fpr));
keysTable->setItem(row,3,new QTableWidgetItem(getStatusString(impKey.importStatus)));
row++;
}