forked from qt-creator/qt-creator
QmlJS: Compile fix.
Change-Id: Ie7d49f1dd54cd8316d660bc8ae6857dc2effc963 Reviewed-on: http://codereview.qt-project.org/6504 Sanity-Review: Christian Kamm <christian.d.kamm@nokia.com> Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
This commit is contained in:
@@ -88,7 +88,7 @@ void ScopeBuilder::push(AST::Node *node)
|
||||
_scopeChain->appendJsScope(astsig->bodyScope());
|
||||
}
|
||||
// signals defined in C++
|
||||
else if (const QmlObjectValue *qmlObject = dynamic_cast<const QmlObjectValue *>(owner)) {
|
||||
else if (const CppComponentValue *qmlObject = dynamic_cast<const CppComponentValue *>(owner)) {
|
||||
if (const ObjectValue *scope = qmlObject->signalScope(name)) {
|
||||
_scopeChain->appendJsScope(scope);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user