aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/key_generate/KeygenDialog.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/dialog/key_generate/KeygenDialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/dialog/key_generate/KeygenDialog.h b/src/ui/dialog/key_generate/KeygenDialog.h
index b8d5a6da..8b9757d5 100644
--- a/src/ui/dialog/key_generate/KeygenDialog.h
+++ b/src/ui/dialog/key_generate/KeygenDialog.h
@@ -52,7 +52,7 @@ class KeyGenDialog : public GeneralDialog {
* @param key The key to show details of
* @param parent The parent of this widget
*/
- explicit KeyGenDialog(QWidget* parent = nullptr);
+ explicit KeyGenDialog(int channel, QWidget* parent = nullptr);
signals:
/**
@@ -110,6 +110,8 @@ class KeyGenDialog : public GeneralDialog {
std::vector<QCheckBox*> key_usage_check_boxes_; ///< ENCR, SIGN, CERT, AUTH
QComboBox* gpg_contexts_combo_box_{};
+ int default_gpg_context_channel_;
+
/**
* @brief
*