Skip to content
Snippets Groups Projects
Commit 3b2c2c22 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

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

parent 7937c292
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment