diff options
author | Andre Heinecke <[email protected]> | 2020-02-19 10:12:43 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2020-02-19 10:15:54 +0000 |
commit | ec9690cf5ce85f43997ac2a3abd3e728012aee4a (patch) | |
tree | 424710f01095a353003fad60c49a69928ef35300 /lang/qt/src/qgpgmedecryptverifyjob.cpp | |
parent | qt: Log execution args of gpg-card (diff) | |
download | gpgme-aheinecke/json-test.tar.gz gpgme-aheinecke/json-test.zip |
qt: Change logging categoryaheinecke/json-test
* lang/qt/src/*: Change logging category to macro to QGPGME_LOG.
--
The old logging category macro had a typo and this way we
are more consistent with other logging rules. For example
you could write gpg.* in the logging conf.
Diffstat (limited to 'lang/qt/src/qgpgmedecryptverifyjob.cpp')
-rw-r--r-- | lang/qt/src/qgpgmedecryptverifyjob.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/qt/src/qgpgmedecryptverifyjob.cpp b/lang/qt/src/qgpgmedecryptverifyjob.cpp index 9b3f73db..5f9a8abe 100644 --- a/lang/qt/src/qgpgmedecryptverifyjob.cpp +++ b/lang/qt/src/qgpgmedecryptverifyjob.cpp @@ -46,7 +46,7 @@ #include "data.h" #include <QDebug> -#include "gpgme_backend_debug.h" +#include "qgpgme_debug.h" #include <QBuffer> @@ -68,7 +68,7 @@ static QGpgMEDecryptVerifyJob::result_type decrypt_verify(Context *ctx, QThread const std::weak_ptr<QIODevice> &plainText_) { - qCDebug(GPGPME_BACKEND_LOG); + qCDebug(QGPGME_LOG); const std::shared_ptr<QIODevice> cipherText = cipherText_.lock(); const std::shared_ptr<QIODevice> plainText = plainText_.lock(); @@ -86,7 +86,7 @@ static QGpgMEDecryptVerifyJob::result_type decrypt_verify(Context *ctx, QThread const std::pair<DecryptionResult, VerificationResult> res = ctx->decryptAndVerify(indata, outdata); Error ae; const QString log = _detail::audit_log_as_html(ctx, ae); - qCDebug(GPGPME_BACKEND_LOG) << "End no plainText. Error: " << ae; + qCDebug(QGPGME_LOG) << "End no plainText. Error: " << ae; return std::make_tuple(res.first, res.second, out.data(), log, ae); } else { QGpgME::QIODeviceDataProvider out(plainText); @@ -95,7 +95,7 @@ static QGpgMEDecryptVerifyJob::result_type decrypt_verify(Context *ctx, QThread const std::pair<DecryptionResult, VerificationResult> res = ctx->decryptAndVerify(indata, outdata); Error ae; const QString log = _detail::audit_log_as_html(ctx, ae); - qCDebug(GPGPME_BACKEND_LOG) << "End plainText. Error: " << ae; + qCDebug(QGPGME_LOG) << "End plainText. Error: " << ae; return std::make_tuple(res.first, res.second, QByteArray(), log, ae); } |