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

Function foreach

Source/GUI/StructEditor/StructSelectModel.cpp:201–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 QList<StructTreeNode*> nodes;
200
201 foreach (const QModelIndex& index, indexes)
202 {
203 StructTreeNode* node = static_cast<StructTreeNode*>(index.internalPointer());
204 if (!nodes.contains(node))
205 nodes << node;
206 }
207 StructTreeNode* leastDeepNode = getLeastDeepNodeFromList(nodes);
208 const qulonglong leastDeepPointer{Common::bit_cast<qulonglong, StructTreeNode*>(leastDeepNode)};
209 stream << leastDeepPointer;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected