aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/KeyList.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widgets/KeyList.h')
-rw-r--r--src/ui/widgets/KeyList.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/widgets/KeyList.h b/src/ui/widgets/KeyList.h
index 8563df8f..47c4d2a1 100644
--- a/src/ui/widgets/KeyList.h
+++ b/src/ui/widgets/KeyList.h
@@ -209,6 +209,13 @@ class KeyList : public QWidget {
*/
void UpdateKeyTableColumnType(GpgKeyTableColumn);
+ /**
+ * @brief
+ *
+ * @return int
+ */
+ [[nodiscard]] auto GetCurrentGpgContextChannel() const -> int;
+
signals:
/**
* @brief
@@ -293,6 +300,8 @@ class KeyList : public QWidget {
QAction* subkeys_number_column_action_;
QAction* comment_column_action_;
+ int current_gpg_context_channel_ = kGpgFrontendDefaultChannel;
+
private slots:
/**