aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/import_export/KeyUploadDialog.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/import_export/KeyUploadDialog.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/import_export/KeyUploadDialog.h')
-rw-r--r--src/ui/dialog/import_export/KeyUploadDialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/dialog/import_export/KeyUploadDialog.h b/src/ui/dialog/import_export/KeyUploadDialog.h
index 4ffe74ca..3085ba0a 100644
--- a/src/ui/dialog/import_export/KeyUploadDialog.h
+++ b/src/ui/dialog/import_export/KeyUploadDialog.h
@@ -48,7 +48,8 @@ class KeyUploadDialog : public GeneralDialog {
* @param keys_ids
* @param parent
*/
- explicit KeyUploadDialog(const KeyIdArgsListPtr& keys_ids, QWidget* parent);
+ explicit KeyUploadDialog(int channel, const KeyIdArgsListPtr& keys_ids,
+ QWidget* parent);
public slots:
@@ -74,6 +75,7 @@ class KeyUploadDialog : public GeneralDialog {
void slot_upload_finished();
private:
+ int current_gpg_context_channel_;
KeyListPtr m_keys_; ///<
QByteArray m_key_data_; ///<
};