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
a2824be2
Commit
a2824be2
authored
Oct 20, 2010
by
Christian Kamm
Browse files
QmlJS: Fix false-positive errors reported for ListElement, Connections.
Task-number: QTCREATORBUG-2802 Reviewed-by: Roberto Raggi
parent
213f2930
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/qmljs/qmljsscopebuilder.cpp
View file @
a2824be2
...
...
@@ -207,7 +207,8 @@ void ScopeBuilder::setQmlScopeObject(Node *node)
if
(
const
QmlObjectValue
*
qmlMetaObject
=
dynamic_cast
<
const
QmlObjectValue
*>
(
prototype
))
{
if
((
qmlMetaObject
->
className
()
==
QLatin1String
(
"ListElement"
)
||
qmlMetaObject
->
className
()
==
QLatin1String
(
"Connections"
)
)
&&
qmlMetaObject
->
packageName
()
==
QLatin1String
(
"Qt"
))
{
)
&&
(
qmlMetaObject
->
packageName
()
==
QLatin1String
(
"Qt"
)
||
qmlMetaObject
->
packageName
()
==
QLatin1String
(
"QtQuick"
)))
{
scopeChain
.
qmlScopeObjects
.
clear
();
break
;
}
...
...
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