Commit 3b2c2c22 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Changed color name checks to use new QColor::isValidColor method.

parent 7937c292
......@@ -147,7 +147,7 @@ public:
break;
}
} else {
ok = QColor(colorString).isValid();
ok = QColor::isValidColor(colorString);
}
if (!ok)
_message.message = QCoreApplication::translate("QmlJS::Check", "not a valid color");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment