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 <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2024-11-18 08:54:01 +01:00
parent 708fcde533
commit 519f38f92c
No known key found for this signature in database
GPG key ID: 7D0F74F05C22F553

View file

@ -128,7 +128,6 @@ QImage createSvgImageWithCustomColor(const QString &fileName,
} }
const auto result = drawSvgWithCustomFillColor(sourceSvg, customColor, originalSize, sizeToUse); const auto result = drawSvgWithCustomFillColor(sourceSvg, customColor, originalSize, sizeToUse);
Q_ASSERT(!result.isNull());
if (result.isNull()) { if (result.isNull()) {
qCWarning(lcIconUtils) << "Failed to load pixmap for" << fileName; qCWarning(lcIconUtils) << "Failed to load pixmap for" << fileName;