aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/KeyImportDetailDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-07-01 18:07:42 +0000
committerSaturneric <[email protected]>2021-07-01 18:07:42 +0000
commitbf033884a652f32c207046b0f3dcdcc0d225150c (patch)
tree8c89d964c51cebc7333e6cbe829dc343425958ca /src/ui/KeyImportDetailDialog.cpp
parentMerge branch 'develop-ci' (diff)
downloadGpgFrontend-bf033884a652f32c207046b0f3dcdcc0d225150c.tar.gz
GpgFrontend-bf033884a652f32c207046b0f3dcdcc0d225150c.zip
Export Secret Key Fixed.
Start Wizard Modified. Another Bugs Fixed.
Diffstat (limited to 'src/ui/KeyImportDetailDialog.cpp')
-rw-r--r--src/ui/KeyImportDetailDialog.cpp5
1 files changed, 2 insertions, 3 deletions
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)