Browse Source

IconUtils: transform to lower case for comparison

Le Tan 3 years ago
parent
commit
9a3c69870c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/iconutils.cpp

+ 1 - 1
src/utils/iconutils.cpp

@@ -89,7 +89,7 @@ bool IconUtils::isMonochrome(const QString &p_iconContent)
             break;
         }
 
-        auto curColor = monoRe.cap(1);
+        auto curColor = monoRe.cap(1).toLower();
         if (curColor.size() == 3) {
             for (int i = curColor.size() - 1; i >= 0; --i) {
                 curColor.insert(i, curColor[i]);