diff options
author | saturneric <[email protected]> | 2024-10-26 13:43:14 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-10-26 13:43:14 +0000 |
commit | 24c28eb752aa611dd1670f3fa7ab6b358b052f1b (patch) | |
tree | 6a4f9af003fa4a86b7d7e29a965e37a231951092 /src/ui/dialog/import_export/KeyServerImportDialog.h | |
parent | fix: thread concurrent crash issue (diff) | |
download | GpgFrontend-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/KeyServerImportDialog.h')
-rw-r--r-- | src/ui/dialog/import_export/KeyServerImportDialog.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ui/dialog/import_export/KeyServerImportDialog.h b/src/ui/dialog/import_export/KeyServerImportDialog.h index 3af381e7..e4ee2367 100644 --- a/src/ui/dialog/import_export/KeyServerImportDialog.h +++ b/src/ui/dialog/import_export/KeyServerImportDialog.h @@ -50,7 +50,7 @@ class KeyServerImportDialog : public GeneralDialog { * @param automatic * @param parent */ - explicit KeyServerImportDialog(QWidget* parent); + explicit KeyServerImportDialog(int channel, QWidget* parent); public slots: @@ -97,7 +97,8 @@ class KeyServerImportDialog : public GeneralDialog { * * @param keyid */ - void slot_import_finished(bool success, QString err_msg, QByteArray buffer, + void slot_import_finished(int channel, bool success, QString err_msg, + QByteArray buffer, std::shared_ptr<GpgImportInformation> info); /** @@ -164,6 +165,8 @@ class KeyServerImportDialog : public GeneralDialog { QPushButton* import_button_{}; ///< QPushButton* search_button_{}; ///< QTableWidget* keys_table_{}; ///< + + int current_gpg_context_channel_; }; } // namespace GpgFrontend::UI |