aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/import_export/KeyServerImportDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/import_export/KeyServerImportDialog.h')
-rw-r--r--src/ui/dialog/import_export/KeyServerImportDialog.h7
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