mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
IconUtils: transform to lower case for comparison
This commit is contained in:
parent
30f73cb004
commit
9a3c69870c
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user