MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / clearTree

Method clearTree

Source/GUI/StructEditor/StructSelectModel.cpp:412–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void StructSelectModel::clearTree()
413{
414 QModelIndex parent = getIndexFromTreeNode(m_rootNode);
415 while (m_rootNode->getChildren().count() > 0)
416 deleteNode(index(0, 0, parent));
417}
418
419void StructSelectModel::insertNewDef(const QString& name, StructDef* structDef)
420{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected