MCPcopy Create free account
hub / github.com/baldurk/renderdoc / expandToNode

Method expandToNode

qrenderdoc/Windows/Dialogs/PerformanceCounterSelection.cpp:155–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void PerformanceCounterSelection::expandToNode(RDTreeWidgetItem *node)
156{
157 RDTreeWidgetItem *n = node;
158 while(node != NULL)
159 {
160 ui->counterTree->expandItem(node);
161 node = node->parent();
162 }
163
164 if(n)
165 ui->counterTree->scrollToItem(n);
166}
167
168PerformanceCounterSelection::PerformanceCounterSelection(ICaptureContext &ctx,
169 const QList<GPUCounter> &selectedCounters,

Callers

nothing calls this directly

Calls 3

expandItemMethod · 0.80
scrollToItemMethod · 0.80
parentMethod · 0.45

Tested by

no test coverage detected