aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/qgpgmegpgcardjob.cpp
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2020-02-19 10:12:43 +0000
committerAndre Heinecke <[email protected]>2020-02-19 10:15:54 +0000
commitec9690cf5ce85f43997ac2a3abd3e728012aee4a (patch)
tree424710f01095a353003fad60c49a69928ef35300 /lang/qt/src/qgpgmegpgcardjob.cpp
parentqt: Log execution args of gpg-card (diff)
downloadgpgme-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/qgpgmegpgcardjob.cpp')
-rw-r--r--lang/qt/src/qgpgmegpgcardjob.cpp4
1 files changed, 2 insertions, 2 deletions
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 <QDir>
#include <QProcess>
#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());