From bf033884a652f32c207046b0f3dcdcc0d225150c Mon Sep 17 00:00:00 2001 From: Saturneric Date: Fri, 2 Jul 2021 02:07:42 +0800 Subject: Export Secret Key Fixed. Start Wizard Modified. Another Bugs Fixed. --- src/ui/KeyImportDetailDialog.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ui/KeyImportDetailDialog.cpp') diff --git a/src/ui/KeyImportDetailDialog.cpp b/src/ui/KeyImportDetailDialog.cpp index 3d8d1cdc..8d303886 100644 --- a/src/ui/KeyImportDetailDialog.cpp +++ b/src/ui/KeyImportDetailDialog.cpp @@ -26,9 +26,8 @@ KeyImportDetailDialog::KeyImportDetailDialog(GpgME::GpgContext *ctx, GpgImportInformation result, bool automatic, QWidget *parent) - : QDialog(parent) { - mCtx = ctx; - mResult = std::move(result); + : QDialog(parent), mCtx(ctx), mResult(std::move(result)) { + // If no key for import found, just show a message if (mResult.considered == 0) { if(automatic) -- cgit v1.2.3