diff options
author | saturneric <[email protected]> | 2025-02-03 18:13:23 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-02-03 19:14:29 +0000 |
commit | 37d5b7e5546fde0433a2480eea5a2c3b222139ff (patch) | |
tree | 9c1f6f2d4b456dea2fb1af4aefcf4f1ac6ae97ee /src/core/function/gpg/GpgKeyOpera.cpp | |
parent | fix: set pb range when size of operas > 1 (diff) | |
download | GpgFrontend-37d5b7e5546fde0433a2480eea5a2c3b222139ff.tar.gz GpgFrontend-37d5b7e5546fde0433a2480eea5a2c3b222139ff.zip |
fix: qt5 compile issues
Diffstat (limited to 'src/core/function/gpg/GpgKeyOpera.cpp')
-rw-r--r-- | src/core/function/gpg/GpgKeyOpera.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/function/gpg/GpgKeyOpera.cpp b/src/core/function/gpg/GpgKeyOpera.cpp index 23a848ee..9511b347 100644 --- a/src/core/function/gpg/GpgKeyOpera.cpp +++ b/src/core/function/gpg/GpgKeyOpera.cpp @@ -111,7 +111,7 @@ void GpgKeyOpera::GenerateRevokeCert(const GpgKey& key, // dealing with reason text auto reason_text_lines = GpgFrontend::SecureCreateSharedObject<QStringList>( - revocation_reason_text.split('\n', Qt::SkipEmptyParts).toVector()); + revocation_reason_text.split('\n', Qt::SkipEmptyParts)); const auto app_path = Module::RetrieveRTValueTypedOrDefault<>( "core", "gpgme.ctx.app_path", QString{}); @@ -124,10 +124,10 @@ void GpgKeyOpera::GenerateRevokeCert(const GpgKey& key, if (exit_code != 0) { LOG_W() << "gnupg gen revoke execute error, process stderr: " << p_err << ", process stdout: " << p_out; - } else { - FLOG_D("gnupg gen revoke exit_code: %d, process stdout size: %lld", - exit_code, p_out.size()); + return; } + LOG_D() << "gnupg gen revoke exit_code: " << exit_code + << "process stdout size: " << p_out.size(); }, nullptr, [revocation_reason_code, reason_text_lines](QProcess* proc) -> void { |