From: Camila Ayres Date: Thu, 12 Sep 2024 12:08:58 +0000 (+0200) Subject: Add colored to base colors. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~6^2~18^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8f2ef85698aa3f770127373ebd9cf70e2b3c1162;p=nextcloud-desktop.git Add colored to base colors. Signed-off-by: Camila Ayres --- 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()) {