| 30 | } |
| 31 | |
| 32 | bool isThemeHexColorString(const QString &value) |
| 33 | { |
| 34 | static const QRegularExpression colorRegex( |
| 35 | "^#(?:[0-9A-Fa-f]{3}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$"); |
| 36 | return colorRegex.match(value).hasMatch(); |
| 37 | } |
| 38 | |
| 39 | QJsonObject normalizeThemeJson(const QJsonObject &json) |
| 40 | { |
no outgoing calls
no test coverage detected