From 9a04f2637fc140ffff786e389ec4a5eb63968c7a Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Mon, 13 Jul 2020 04:01:44 +0200 Subject: [PATCH] Use KF-standardized Qt logging categories See https://community.kde.org/Frameworks/Frameworks_Logging_Policy --- src/imageformats/eps.cpp | 2 +- src/imageformats/hdr.cpp | 2 +- src/imageformats/xcf.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/imageformats/eps.cpp b/src/imageformats/eps.cpp index 153512c..45ff2a4 100644 --- a/src/imageformats/eps.cpp +++ b/src/imageformats/eps.cpp @@ -17,7 +17,7 @@ #include // logging category for this framework, default: log stuff >= warning -Q_LOGGING_CATEGORY(EPSPLUGIN, "kf5.kimageformats.epsplugin", QtWarningMsg) +Q_LOGGING_CATEGORY(EPSPLUGIN, "kf.imageformats.plugins.eps", QtWarningMsg) //#define EPS_PERFORMANCE_DEBUG 1 diff --git a/src/imageformats/hdr.cpp b/src/imageformats/hdr.cpp index efe2297..4b12df0 100644 --- a/src/imageformats/hdr.cpp +++ b/src/imageformats/hdr.cpp @@ -19,7 +19,7 @@ typedef unsigned char uchar; -Q_LOGGING_CATEGORY(HDRPLUGIN, "kf5.kimageformats.hdrplugin", QtWarningMsg) +Q_LOGGING_CATEGORY(HDRPLUGIN, "kf.imageformats.plugins.hdr", QtWarningMsg) namespace // Private. { diff --git a/src/imageformats/xcf.cpp b/src/imageformats/xcf.cpp index 5bf6077..ab0c7b4 100644 --- a/src/imageformats/xcf.cpp +++ b/src/imageformats/xcf.cpp @@ -36,7 +36,7 @@ #include "gimp_p.h" Q_DECLARE_LOGGING_CATEGORY(XCFPLUGIN) -Q_LOGGING_CATEGORY(XCFPLUGIN, "xcfplugin", QtWarningMsg) +Q_LOGGING_CATEGORY(XCFPLUGIN, "kf.imageformats.plugins.xcf", QtWarningMsg) const float INCHESPERMETER = (100.0f / 2.54f);