| 153 | } |
| 154 | |
| 155 | void 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 | |
| 168 | PerformanceCounterSelection::PerformanceCounterSelection(ICaptureContext &ctx, |
| 169 | const QList<GPUCounter> &selectedCounters, |
nothing calls this directly
no test coverage detected