aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/qgpgme_debug.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/qgpgme_debug.cpp
parentqt: Log execution args of gpg-card (diff)
downloadgpgme-ec9690cf5ce85f43997ac2a3abd3e728012aee4a.tar.gz
gpgme-ec9690cf5ce85f43997ac2a3abd3e728012aee4a.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/qgpgme_debug.cpp')
-rw-r--r--lang/qt/src/qgpgme_debug.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/qt/src/qgpgme_debug.cpp b/lang/qt/src/qgpgme_debug.cpp
new file mode 100644
index 00000000..4ed859e2
--- /dev/null
+++ b/lang/qt/src/qgpgme_debug.cpp
@@ -0,0 +1,14 @@
+// This file is autogenerated by CMake: DO NOT EDIT
+
+#ifdef HAVE_CONFIG_H
+ #include "config.h"
+#endif
+
+#include "qgpgme_debug.h"
+
+
+#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
+Q_LOGGING_CATEGORY(QGPGME_LOG, "gpg.qgpgme", QtWarningMsg)
+#else
+Q_LOGGING_CATEGORY(QGPGME_LOG, "gpg.qgpgme")
+#endif