aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/UserInterfaceUtils.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-16 18:18:38 +0000
committerSaturneric <[email protected]>2021-12-16 18:18:38 +0000
commit2874ebd5e56a7da7f7e7c96da392199b296d909a (patch)
treee6b78bcbb33282e652cd47df59987fc5932725c7 /src/ui/UserInterfaceUtils.h
parentFixed Known Problem. (diff)
downloadGpgFrontend-2874ebd5e56a7da7f7e7c96da392199b296d909a.tar.gz
GpgFrontend-2874ebd5e56a7da7f7e7c96da392199b296d909a.zip
Fixed & Improve.
1. Fixed Known Issues. 2. Improve UI.
Diffstat (limited to 'src/ui/UserInterfaceUtils.h')
-rw-r--r--src/ui/UserInterfaceUtils.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/ui/UserInterfaceUtils.h b/src/ui/UserInterfaceUtils.h
index a08f3420..be114b0a 100644
--- a/src/ui/UserInterfaceUtils.h
+++ b/src/ui/UserInterfaceUtils.h
@@ -85,8 +85,8 @@ class CommonUtils : public QWidget {
void slotImportKeyFromClipboard(QWidget* parent);
- void slotImportKeyFromKeyServer(
- const GpgFrontend::KeyIdArgsList& key_ids,
+ static void slotImportKeyFromKeyServer(
+ int ctx_channel, const GpgFrontend::KeyIdArgsList& key_ids,
const GpgFrontend::UI::CommonUtils::ImportCallbackFunctiopn& callback);
void slotExecuteGpgCommand(
@@ -94,14 +94,9 @@ class CommonUtils : public QWidget {
const std::function<void(QProcess*)>& interact_func);
private slots:
- void slotDoImportKeyFromKeyServer(
- QNetworkReply* network_reply, const std::string& key_id,
- size_t current_index, size_t all_index,
- const GpgFrontend::UI::CommonUtils::ImportCallbackFunctiopn& _callback);
private:
static std::unique_ptr<CommonUtils> _instance;
- QNetworkAccessManager* _network_manager = new QNetworkAccessManager(this);
};
} // namespace GpgFrontend::UI