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/qgpgme_debug.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lang/qt/src/qgpgme_debug.cpp (limited to 'lang/qt/src/qgpgme_debug.cpp') 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 -- cgit v1.2.3