| 128 | } |
| 129 | |
| 130 | void BreakpointView::removeBreakpoints(const QModelIndexList &rows) |
| 131 | { |
| 132 | BreakpointModel *bpModel = static_cast<BreakpointModel *>(model()); |
| 133 | QStringList openedFiles = editService->openedFiles(); |
| 134 | for (auto row : rows) { |
| 135 | auto bp = bpModel->BreakpointAt(row.row()); |
| 136 | if (openedFiles.contains(bp.filePath)) |
| 137 | editor.removeBreakpoint(bp.filePath, bp.lineNumber - 1); |
| 138 | else |
| 139 | editor.breakpointRemoved(bp.filePath, bp.lineNumber - 1); |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | void BreakpointView::editBreakpointCondition(const QModelIndex &index) |
| 144 | { |
nothing calls this directly
no test coverage detected