From 519f38f92c1c8713ce5f5244b93af9cffbd559fb Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Mon, 18 Nov 2024 08:54:01 +0100 Subject: [PATCH] remove assert that is being hit always when running debug builds makes no sense as I have to always patch it out to be able to run a debug build Signed-off-by: Matthieu Gallien --- src/gui/iconutils.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/iconutils.cpp b/src/gui/iconutils.cpp index 9fef22d57..69f543c78 100644 --- a/src/gui/iconutils.cpp +++ b/src/gui/iconutils.cpp @@ -128,7 +128,6 @@ QImage createSvgImageWithCustomColor(const QString &fileName, } const auto result = drawSvgWithCustomFillColor(sourceSvg, customColor, originalSize, sizeToUse); - Q_ASSERT(!result.isNull()); if (result.isNull()) { qCWarning(lcIconUtils) << "Failed to load pixmap for" << fileName;