From ec9690cf5ce85f43997ac2a3abd3e728012aee4a Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 19 Feb 2020 11:12:43 +0100 Subject: qt: Change logging category * 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. --- lang/qt/src/qgpgmegpgcardjob.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/qt/src/qgpgmegpgcardjob.cpp') diff --git a/lang/qt/src/qgpgmegpgcardjob.cpp b/lang/qt/src/qgpgmegpgcardjob.cpp index cb59a271..ae0bf72c 100644 --- a/lang/qt/src/qgpgmegpgcardjob.cpp +++ b/lang/qt/src/qgpgmegpgcardjob.cpp @@ -41,7 +41,7 @@ #include #include #include "util.h" -#include "gpgme_backend_debug.h" +#include "qgpgme_debug.h" /* We cannot have a timeout because key generation can * take ages. Well maybe 10 minutes. */ @@ -86,7 +86,7 @@ static QGpgMEGpgCardJob::result_type do_work(const QStringList &cmds, const QStr proc.setProgram(path); proc.setArguments(args); - qCDebug(GPGPME_BACKEND_LOG) << "Executing:" << path << args; + qCDebug(QGPGME_LOG) << "Executing:" << path << args; proc.start(); if (!proc.waitForStarted()) { return std::make_tuple (QString(), QString(), 1, QString(), Error()); -- cgit v1.2.3