Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
42c66a8b
Commit
42c66a8b
authored
Feb 03, 2010
by
Kai Koehne
Browse files
Forbid IDs with capital letters in QmlDesigner
See according changes in kinetic-declarativeui.
parent
c0e85146
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/core/model/modelnode.cpp
View file @
42c66a8b
...
...
@@ -162,7 +162,7 @@ QString ModelNode::validId()
static
bool
idContainsWrongLetter
(
const
QString
&
id
)
{
static
QRegExp
idExpr
(
QLatin1String
(
"[a-z
A-Z
][a-zA-Z0-9_]*"
));
static
QRegExp
idExpr
(
QLatin1String
(
"[a-z][a-zA-Z0-9_]*"
));
return
!
idExpr
.
exactMatch
(
id
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment