From: Matthieu Gallien Date: Mon, 13 Feb 2023 14:19:14 +0000 (+0100) Subject: fix a few debug logs to use proper categorized logging X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~42^2~20 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d6d1a6dcd24a8253ae8387aa2929374019ac5ef2;p=nextcloud-desktop.git fix a few debug logs to use proper categorized logging Signed-off-by: Matthieu Gallien --- 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;