| 398 | } |
| 399 | |
| 400 | void StructDetailModel::unloadStruct() |
| 401 | { |
| 402 | beginResetModel(); |
| 403 | delete m_baseNode; |
| 404 | m_baseNode = nullptr; |
| 405 | qDeleteAll(m_fields); |
| 406 | m_fields = QVector<FieldDef*>(); |
| 407 | endResetModel(); |
| 408 | } |
| 409 | |
| 410 | bool StructDetailModel::willRemoveFields(u32 newLength) |
| 411 | { |
nothing calls this directly
no outgoing calls
no test coverage detected