From d6d1a6dcd24a8253ae8387aa2929374019ac5ef2 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Mon, 13 Feb 2023 15:19:14 +0100 Subject: [PATCH] fix a few debug logs to use proper categorized logging Signed-off-by: Matthieu Gallien --- src/gui/iconutils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/iconutils.cpp b/src/gui/iconutils.cpp index 64d3986aa..2f6b6f2ad 100644 --- a/src/gui/iconutils.cpp +++ b/src/gui/iconutils.cpp @@ -67,7 +67,7 @@ QImage createSvgImageWithCustomColor(const QString &fileName, const QColor &cust QImage result{}; if (fileName.isEmpty() || !customColor.isValid()) { - qWarning(lcIconUtils) << "invalid fileName or customColor"; + qCWarning(lcIconUtils) << "invalid fileName or customColor"; return result; } @@ -106,7 +106,7 @@ QImage createSvgImageWithCustomColor(const QString &fileName, const QColor &cust Q_ASSERT(!sourceSvg.isEmpty()); if (sourceSvg.isEmpty()) { - qWarning(lcIconUtils) << "Failed to find base SVG file for" << fileName; + qCWarning(lcIconUtils) << "Failed to find base SVG file for" << fileName; return result; } @@ -114,7 +114,7 @@ QImage createSvgImageWithCustomColor(const QString &fileName, const QColor &cust Q_ASSERT(!result.isNull()); if (result.isNull()) { - qWarning(lcIconUtils) << "Failed to load pixmap for" << fileName; + qCWarning(lcIconUtils) << "Failed to load pixmap for" << fileName; } return result; -- 2.30.2