diff options
Diffstat (limited to '')
-rw-r--r-- | src/ui/KeyImportDetailDialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/KeyImportDetailDialog.cpp b/src/ui/KeyImportDetailDialog.cpp index 8d303886..8614051b 100644 --- a/src/ui/KeyImportDetailDialog.cpp +++ b/src/ui/KeyImportDetailDialog.cpp @@ -24,7 +24,7 @@ #include <ui/KeyImportDetailDialog.h> -KeyImportDetailDialog::KeyImportDetailDialog(GpgME::GpgContext *ctx, GpgImportInformation result, bool automatic, +KeyImportDetailDialog::KeyImportDetailDialog(GpgFrontend::GpgContext *ctx, GpgImportInformation result, bool automatic, QWidget *parent) : QDialog(parent), mCtx(ctx), mResult(std::move(result)) { @@ -115,7 +115,7 @@ void KeyImportDetailDialog::createKeysTable() { int row = 0; for (const auto &impKey : mResult.importedKeys) { keysTable->setRowCount(row + 1); - GpgKey key = mCtx->getKeyByFpr(impKey.fpr); + GpgKey key = mCtx->getKeyRefByFpr(impKey.fpr); if(!key.good) continue; keysTable->setItem(row, 0, new QTableWidgetItem(key.name)); keysTable->setItem(row, 1, new QTableWidgetItem(key.email)); |