| 641 | |
| 642 | |
| 643 | void ThreadFramesWidget::expandCurrentThread() |
| 644 | { |
| 645 | for (int i = 0; i < m_model->rowCount(); i++) |
| 646 | { |
| 647 | auto index = m_model->index(i, 0); |
| 648 | if (!index.isValid()) |
| 649 | return; |
| 650 | |
| 651 | FrameItem* item = static_cast<FrameItem*>(index.internalPointer()); |
| 652 | if (!item) |
| 653 | return; |
| 654 | |
| 655 | if (m_debugger->GetActiveThread().m_tid == item->tid()) |
| 656 | { |
| 657 | expand(index); |
| 658 | return; |
| 659 | } |
| 660 | } |
| 661 | } |
| 662 | |
| 663 | |
| 664 | void ThreadFramesWidget::updateContent() |
nothing calls this directly
no test coverage detected