forked from qt-creator/qt-creator
QmlJS: Rename QmlObjectValue -> CppComponentValue.
Reviewed-by: Fawzi Mohamed Reviewed-by: Thomas Hartmann Change-Id: Ib89388d5a5678403e4637eec5829f3520637ee27 Reviewed-on: http://codereview.qt-project.org/6310 Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com> Sanity-Review: Christian Kamm <christian.d.kamm@nokia.com>
This commit is contained in:
@@ -138,7 +138,7 @@ QString Context::defaultPropertyName(const ObjectValue *object) const
|
||||
QString defaultProperty = astObjValue->defaultPropertyName();
|
||||
if (!defaultProperty.isEmpty())
|
||||
return defaultProperty;
|
||||
} else if (const QmlObjectValue *qmlValue = dynamic_cast<const QmlObjectValue *>(o)) {
|
||||
} else if (const CppComponentValue *qmlValue = dynamic_cast<const CppComponentValue *>(o)) {
|
||||
return qmlValue->defaultPropertyName();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user