]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
remove assert that is being hit always when running debug builds
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 18 Nov 2024 07:54:01 +0000 (08:54 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 18 Nov 2024 07:54:01 +0000 (08:54 +0100)
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>
src/gui/iconutils.cpp

index 9fef22d57417ada5abcbb852e59afe67917ce772..69f543c7831309d75ddf4fe27018e70ca5fe84d0 100644 (file)
@@ -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;