diff options
author | Saturneric <[email protected]> | 2022-07-23 12:18:23 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-07-23 12:18:23 +0000 |
commit | 61cc4ed27fd75315736407eac0932a3b297c9872 (patch) | |
tree | ab1aad6c483efffbe06e687627afb4f6260ebde2 /src/core/GpgContext.cpp | |
parent | fix(ui): fix button style problem (diff) | |
download | GpgFrontend-61cc4ed27fd75315736407eac0932a3b297c9872.tar.gz GpgFrontend-61cc4ed27fd75315736407eac0932a3b297c9872.zip |
feat(ui): add tab to show gnupg info
Diffstat (limited to '')
-rw-r--r-- | src/core/GpgContext.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/GpgContext.cpp b/src/core/GpgContext.cpp index 7e656dfb..28857d32 100644 --- a/src/core/GpgContext.cpp +++ b/src/core/GpgContext.cpp @@ -93,7 +93,9 @@ GpgContext::GpgContext(const GpgContextInitArgs &args) : args_(args) { : engine_info->file_name) << std::string(engine_info->home_dir == nullptr ? "null" - : engine_info->home_dir); + : engine_info->home_dir) + << std::string(engine_info->version ? "null" + : engine_info->version); switch (engine_info->protocol) { case GPGME_PROTOCOL_OpenPGP: @@ -110,6 +112,7 @@ GpgContext::GpgContext(const GpgContextInitArgs &args) : args_(args) { info_.GpgConfPath = engine_info->file_name; break; case GPGME_PROTOCOL_ASSUAN: + info_.AssuanPath = engine_info->file_name; break; case GPGME_PROTOCOL_G13: break; |