aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/keypair_details/KeyPairSubkeyTab.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/keypair_details/KeyPairSubkeyTab.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/keypair_details/KeyPairSubkeyTab.h')
-rw-r--r--src/ui/dialog/keypair_details/KeyPairSubkeyTab.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/dialog/keypair_details/KeyPairSubkeyTab.h b/src/ui/dialog/keypair_details/KeyPairSubkeyTab.h
index 90561cc8..85423745 100644
--- a/src/ui/dialog/keypair_details/KeyPairSubkeyTab.h
+++ b/src/ui/dialog/keypair_details/KeyPairSubkeyTab.h
@@ -45,7 +45,7 @@ class KeyPairSubkeyTab : public QWidget {
* @param key
* @param parent
*/
- KeyPairSubkeyTab(const QString& key, QWidget* parent);
+ KeyPairSubkeyTab(int channel, const QString& key, QWidget* parent);
private:
/**
@@ -67,6 +67,7 @@ class KeyPairSubkeyTab : public QWidget {
*/
const GpgSubKey& get_selected_subkey();
+ int current_gpg_context_channel_;
GpgKey key_; ///<
QTableWidget* subkey_list_{}; ///<
std::vector<GpgSubKey> buffered_subkeys_; ///<