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

Method ExpandNode

qrenderdoc/Windows/EventBrowser.cpp:5815–5826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5813}
5814
5815void EventBrowser::ExpandNode(QModelIndex idx)
5816{
5817 QModelIndex i = idx;
5818 while(idx.isValid())
5819 {
5820 ui->events->expand(idx);
5821 idx = idx.parent();
5822 }
5823
5824 if(i.isValid())
5825 ui->events->scrollTo(i);
5826}
5827
5828bool EventBrowser::SelectEvent(uint32_t eventId)
5829{

Callers

nothing calls this directly

Calls 3

scrollToMethod · 0.80
isValidMethod · 0.45
parentMethod · 0.45

Tested by

no test coverage detected