Commit 42c66a8b authored by Kai Koehne's avatar Kai Koehne
Browse files

Forbid IDs with capital letters in QmlDesigner

See according changes in kinetic-declarativeui.
parent c0e85146
......@@ -162,7 +162,7 @@ QString ModelNode::validId()
static bool idContainsWrongLetter(const QString& id)
static QRegExp idExpr(QLatin1String("[a-zA-Z][a-zA-Z0-9_]*"));
static QRegExp idExpr(QLatin1String("[a-z][a-zA-Z0-9_]*"));
return !idExpr.exactMatch(id);
Supports Markdown
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