Add colored to base colors.
authorCamila Ayres <hello@camilasan.com>
Thu, 12 Sep 2024 12:08:58 +0000 (14:08 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 13 Sep 2024 11:40:45 +0000 (11:40 +0000)
Signed-off-by: Camila Ayres <hello@camilasan.com>
src/gui/iconutils.cpp

index 22ce38f85aabb73e1311228a94924563063e9648..9fef22d57417ada5abcbb852e59afe67917ce772 100644 (file)
@@ -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()) {