diff options
author | Saturneric <[email protected]> | 2021-07-04 19:17:53 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-07-04 19:17:53 +0000 |
commit | fe2f448d517bb0f7d37c22fe99b2bd13ef1a61c3 (patch) | |
tree | 952ad3bc8cb5f76c0d1e02792a62a3825ef6fdf0 /src/ui/KeyImportDetailDialog.cpp | |
parent | Adjust and improve the basic settings page (diff) | |
parent | Update Github Action Files. (diff) | |
download | GpgFrontend-fe2f448d517bb0f7d37c22fe99b2bd13ef1a61c3.tar.gz GpgFrontend-fe2f448d517bb0f7d37c22fe99b2bd13ef1a61c3.zip |
Merge branch 'main' into develop
Diffstat (limited to 'src/ui/KeyImportDetailDialog.cpp')
-rw-r--r-- | src/ui/KeyImportDetailDialog.cpp | 5 |
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) |