aboutsummaryrefslogtreecommitdiffstats
path: root/keyimportdetaildialog.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-27 18:32:59 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-27 18:32:59 +0000
commitecb7095c12b5b776efe6f1e6d19da166c468f917 (patch)
treefaf73111e5302504ada0946c80347378d08e49bc /keyimportdetaildialog.cpp
parentadd methods getKexByFpr / byId to gpgcontext (diff)
downloadgpg4usb-ecb7095c12b5b776efe6f1e6d19da166c468f917.tar.gz
gpg4usb-ecb7095c12b5b776efe6f1e6d19da166c468f917.zip
remove keylist-include from keyimportdetaildialog
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@706 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keyimportdetaildialog.cpp')
-rw-r--r--keyimportdetaildialog.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/keyimportdetaildialog.cpp b/keyimportdetaildialog.cpp
index fb457ad..23c3d7a 100644
--- a/keyimportdetaildialog.cpp
+++ b/keyimportdetaildialog.cpp
@@ -21,11 +21,10 @@
#include "keyimportdetaildialog.h"
-KeyImportDetailDialog::KeyImportDetailDialog(GpgME::GpgContext* ctx, KeyList* keyList, GpgImportInformation result, QWidget *parent)
+KeyImportDetailDialog::KeyImportDetailDialog(GpgME::GpgContext* ctx, GpgImportInformation result, QWidget *parent)
: QDialog(parent)
{
mCtx = ctx;
- mKeyList = keyList;
mResult = result;
// If no key for import found, just ahow a message
if (mResult.considered == 0) {
@@ -106,7 +105,7 @@ void KeyImportDetailDialog::createKeysTable()
int row = 0;
foreach (GpgImportedKey impKey, mResult.importedKeys) {
keysTable->setRowCount(row+1);
- GpgKey key = mKeyList->getKeyByFpr(impKey.fpr);
+ 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));