aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/key_generate/KeygenDialog.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-17 11:39:47 +0000
committersaturneric <[email protected]>2024-01-17 11:39:47 +0000
commite352e8e6b8d03a24ef5d52eef3e4d370807b5bbd (patch)
tree9a59f0b573a845644afe4b8857a89c4b28bdcc0d /src/ui/dialog/key_generate/KeygenDialog.h
parentfix: solve the gnupg tab options info not shown issue (diff)
downloadGpgFrontend-e352e8e6b8d03a24ef5d52eef3e4d370807b5bbd.tar.gz
GpgFrontend-e352e8e6b8d03a24ef5d52eef3e4d370807b5bbd.zip
fix: find and slove some bugs
Diffstat (limited to '')
-rw-r--r--src/ui/dialog/key_generate/KeygenDialog.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/dialog/key_generate/KeygenDialog.h b/src/ui/dialog/key_generate/KeygenDialog.h
index 8e424094..ceab3d46 100644
--- a/src/ui/dialog/key_generate/KeygenDialog.h
+++ b/src/ui/dialog/key_generate/KeygenDialog.h
@@ -91,9 +91,8 @@ class KeyGenDialog : public GeneralDialog {
///< entries of line edits
std::shared_ptr<GenKeyInfo> gen_key_info_ =
- SecureCreateSharedObject<GenKeyInfo>(); ///<
- std::shared_ptr<GenKeyInfo> gen_subkey_info_ =
- SecureCreateSharedObject<GenKeyInfo>(); ///<
+ SecureCreateSharedObject<GenKeyInfo>(); ///<
+ std::shared_ptr<GenKeyInfo> gen_subkey_info_ = nullptr; ///<
QDialogButtonBox* button_box_; ///< Box for standard buttons
QLabel* error_label_{}; ///< Label containing error message