Skip to content
Snippets Groups Projects
Commit 302e93d6 authored by Leandro Melo's avatar Leandro Melo
Browse files

QmlJS: Set type correctly for color properties.

Done-with: ckamm
parent 713e4c26
Branches
Tags
No related merge requests found
......@@ -2877,6 +2877,8 @@ const Value *Engine::defaultValueForBuiltinType(const QString &typeName) const
return booleanValue();
else if (typeName == QLatin1String("int") || typeName == QLatin1String("real"))
return numberValue();
else if (typeName == QLatin1String("color"))
return colorValue();
// ### more types...
return undefinedValue();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment