| 436 | |
| 437 | |
| 438 | void ThreadFramesWidget::suspendThread() |
| 439 | { |
| 440 | QModelIndexList sel = selectionModel()->selectedIndexes(); |
| 441 | if (sel.empty()) |
| 442 | return; |
| 443 | |
| 444 | FrameItem* item = static_cast<FrameItem*>(sel[0].internalPointer()); |
| 445 | if (!item) |
| 446 | return; |
| 447 | |
| 448 | if (item->isFrame()) |
| 449 | return; |
| 450 | |
| 451 | m_debugger->SuspendThread(item->tid()); |
| 452 | } |
| 453 | |
| 454 | |
| 455 | bool ThreadFramesWidget::selectionNotEmpty() |
nothing calls this directly
no test coverage detected