aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/key_generate/SubkeyGenerateDialog.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-10-26 13:43:14 +0000
committersaturneric <[email protected]>2024-10-26 13:43:14 +0000
commit24c28eb752aa611dd1670f3fa7ab6b358b052f1b (patch)
tree6a4f9af003fa4a86b7d7e29a965e37a231951092 /src/ui/dialog/key_generate/SubkeyGenerateDialog.h
parentfix: thread concurrent crash issue (diff)
downloadGpgFrontend-24c28eb752aa611dd1670f3fa7ab6b358b052f1b.tar.gz
GpgFrontend-24c28eb752aa611dd1670f3fa7ab6b358b052f1b.zip
fix: test basic operations of multi key db and solve issues
Diffstat (limited to 'src/ui/dialog/key_generate/SubkeyGenerateDialog.h')
-rw-r--r--src/ui/dialog/key_generate/SubkeyGenerateDialog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/dialog/key_generate/SubkeyGenerateDialog.h b/src/ui/dialog/key_generate/SubkeyGenerateDialog.h
index a8863ca2..f0a4fed6 100644
--- a/src/ui/dialog/key_generate/SubkeyGenerateDialog.h
+++ b/src/ui/dialog/key_generate/SubkeyGenerateDialog.h
@@ -53,10 +53,12 @@ class SubkeyGenerateDialog : public GeneralDialog {
* @param key_id
* @param parent
*/
- explicit SubkeyGenerateDialog(const KeyId& key_id, QWidget* parent);
+ explicit SubkeyGenerateDialog(int channel, const KeyId& key_id,
+ QWidget* parent);
private:
- GpgKey key_; ///<
+ int current_gpg_context_channel_; ///<
+ GpgKey key_; ///<
std::shared_ptr<GenKeyInfo> gen_key_info_ =
SecureCreateSharedObject<GenKeyInfo>(true); ///<