Skip to content
Snippets Groups Projects
Commit b1b493ce authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlInspector: Anonymous items' types displayed with special characters in object tree

parent 7f3649be
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ void ObjectTree::buildTree(const QDeclarativeDebugObjectReference &obj, QTreeWid
QTreeWidgetItem *item = parent ? new QTreeWidgetItem(parent) : new QTreeWidgetItem(this);
if (obj.idString().isEmpty())
item->setText(0, obj.className());
item->setText(0, QLatin1String("<")+obj.className()+QLatin1String(">"));
else
item->setText(0, obj.idString());
item->setData(0, Qt::UserRole, qVariantFromValue(obj));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment