forked from qt-creator/qt-creator
QML Live Preview: avoid to crash if ast->qualifiedTypeNameId->name is null
We do not need this check anyway.
This commit is contained in:
@@ -41,12 +41,10 @@ class MapObjectWithDebugReference : public Visitor
|
|||||||
|
|
||||||
void MapObjectWithDebugReference::endVisit(UiObjectDefinition* ast)
|
void MapObjectWithDebugReference::endVisit(UiObjectDefinition* ast)
|
||||||
{
|
{
|
||||||
if (ast->qualifiedTypeNameId->name->asString().at(0).isUpper())
|
|
||||||
processRecursive(root, ast);
|
processRecursive(root, ast);
|
||||||
}
|
}
|
||||||
void MapObjectWithDebugReference::endVisit(UiObjectBinding* ast)
|
void MapObjectWithDebugReference::endVisit(UiObjectBinding* ast)
|
||||||
{
|
{
|
||||||
if (ast->qualifiedId->name->asString().at(0).isUpper())
|
|
||||||
processRecursive(root, ast);
|
processRecursive(root, ast);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user