aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/KeyImportDetailDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-07-04 19:17:53 +0000
committerSaturneric <[email protected]>2021-07-04 19:17:53 +0000
commitfe2f448d517bb0f7d37c22fe99b2bd13ef1a61c3 (patch)
tree952ad3bc8cb5f76c0d1e02792a62a3825ef6fdf0 /src/ui/KeyImportDetailDialog.cpp
parentAdjust and improve the basic settings page (diff)
parentUpdate Github Action Files. (diff)
downloadGpgFrontend-fe2f448d517bb0f7d37c22fe99b2bd13ef1a61c3.tar.gz
GpgFrontend-fe2f448d517bb0f7d37c22fe99b2bd13ef1a61c3.zip
Merge branch 'main' into develop
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)