Merge pull request #7506 from nextcloud/bugfix/removeAssertInIconUtils

remove assert that is being hit always when running debug builds
This commit is contained in:
Matthieu Gallien 2024-11-18 09:00:42 +01:00 committed by GitHub
commit 336c5d1213
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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;