diff options
author | Andre Heinecke <[email protected]> | 2020-02-19 10:06:57 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2020-02-19 10:15:54 +0000 |
commit | ba08aadfa7d254f459f51470a7331c6cc2de5199 (patch) | |
tree | f0bf3eb993ab4112caccc75ef2c57325c793c73a | |
parent | python: Also detect python 3.9. (diff) | |
download | gpgme-ba08aadfa7d254f459f51470a7331c6cc2de5199.tar.gz gpgme-ba08aadfa7d254f459f51470a7331c6cc2de5199.zip |
qt: Log execution args of gpg-card
* lang/qt/src/qgpgmegpgcardjob.cpp (do_work): Log call.
-rw-r--r-- | lang/qt/src/qgpgmegpgcardjob.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/qt/src/qgpgmegpgcardjob.cpp b/lang/qt/src/qgpgmegpgcardjob.cpp index 0b0ce3ea..cb59a271 100644 --- a/lang/qt/src/qgpgmegpgcardjob.cpp +++ b/lang/qt/src/qgpgmegpgcardjob.cpp @@ -1,9 +1,8 @@ /* - qgpgmekeyformailboxjob.cpp + qgpgmegpgcardjob.cpp This file is part of qgpgme, the Qt API binding for gpgme - Copyright (c) 2016 by Bundesamt für Sicherheit in der Informationstechnik - Software engineering by Intevation GmbH + Copyright (c) 2020 g10 Code GmbH QGpgME is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -42,6 +41,7 @@ #include <QDir> #include <QProcess> #include "util.h" +#include "gpgme_backend_debug.h" /* We cannot have a timeout because key generation can * take ages. Well maybe 10 minutes. */ @@ -85,6 +85,8 @@ static QGpgMEGpgCardJob::result_type do_work(const QStringList &cmds, const QStr proc.setProgram(path); proc.setArguments(args); + + qCDebug(GPGPME_BACKEND_LOG) << "Executing:" << path << args; proc.start(); if (!proc.waitForStarted()) { return std::make_tuple (QString(), QString(), 1, QString(), Error()); |