From d6aa4d2e5058bccccb167087a10cc26fced8f561 Mon Sep 17 00:00:00 2001 From: saturneric Date: Sat, 19 Apr 2025 02:34:18 +0200 Subject: fix: solve found issues by testing --- src/core/function/gpg/GpgAssuanHelper.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/core/function/gpg/GpgAssuanHelper.h') diff --git a/src/core/function/gpg/GpgAssuanHelper.h b/src/core/function/gpg/GpgAssuanHelper.h index adf6d0ff..f357ed93 100644 --- a/src/core/function/gpg/GpgAssuanHelper.h +++ b/src/core/function/gpg/GpgAssuanHelper.h @@ -118,10 +118,16 @@ class GPGFRONTEND_CORE_EXPORT GpgAssuanHelper auto SendDataCommand(GpgComponentType type, const QString& command) -> std::tuple; + /** + * @brief + * + */ + void ResetAllConnections(); + private: GpgContext& ctx_ = GpgContext::GetInstance(SingletonFunctionObject::GetChannel()); - QMap assuan_ctx_; + QMap> assuan_ctx_; QByteArray temp_data_; QString temp_status_; -- cgit v1.2.3