From 8f2ef85698aa3f770127373ebd9cf70e2b3c1162 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Thu, 12 Sep 2024 14:08:58 +0200 Subject: [PATCH] Add colored to base colors. Signed-off-by: Camila Ayres --- src/gui/iconutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/iconutils.cpp b/src/gui/iconutils.cpp index 22ce38f85..9fef22d57 100644 --- a/src/gui/iconutils.cpp +++ b/src/gui/iconutils.cpp @@ -111,7 +111,7 @@ QImage createSvgImageWithCustomColor(const QString &fileName, const auto sizeToUse = requestedSize.isValid() || originalSize == nullptr ? requestedSize : *originalSize; // some icons are present in white or black only, so, we need to check both when needed - const auto iconBaseColors = QStringList{QStringLiteral("black"), QStringLiteral("white")}; + const auto iconBaseColors = QStringList{QStringLiteral("black"), QStringLiteral("white"), QStringLiteral("colored")}; const auto customColorImage = findImageWithCustomColor(fileName, customColor, iconBaseColors, sizeToUse); if (!customColorImage.isNull()) { -- 2.30.2