Fix creating a theme from a default one.
Regression was introduced in 79cc797aff
.
This commit is contained in:
parent
02f48a7781
commit
36486a3d73
|
@ -164,6 +164,7 @@ bool isValidColorValue(QLatin1String value) {
|
|||
skipWhitespacesAndComments(data, end);
|
||||
if (data == end) break;
|
||||
|
||||
[[maybe_unused]] auto foundName = base::parse::readName(data, end);
|
||||
skipWhitespacesAndComments(data, end);
|
||||
if (data == end || *data != ':') {
|
||||
return "error";
|
||||
|
|
Loading…
Reference in New Issue