forked from qt-creator/qt-creator
Fix coding style for else statements
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c67f7f6349
commit
ad9e7ccab6
@@ -80,10 +80,10 @@ void ScopeBuilder::push(AST::Node *node)
|
||||
break;
|
||||
}
|
||||
// signals defined in QML
|
||||
if (const ASTSignal *astsig = value_cast<ASTSignal>(value))
|
||||
if (const ASTSignal *astsig = value_cast<ASTSignal>(value)) {
|
||||
_scopeChain->appendJsScope(astsig->bodyScope());
|
||||
// signals defined in C++
|
||||
else if (const CppComponentValue *qmlObject = value_cast<CppComponentValue>(owner)) {
|
||||
} else if (const CppComponentValue *qmlObject = value_cast<CppComponentValue>(owner)) {
|
||||
if (const ObjectValue *scope = qmlObject->signalScope(name))
|
||||
_scopeChain->appendJsScope(scope);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user