| 115 | } |
| 116 | |
| 117 | void BreakpointView::disableBreakpoints(const QModelIndexList &rows) |
| 118 | { |
| 119 | BreakpointModel *bpModel = static_cast<BreakpointModel *>(model()); |
| 120 | QStringList openedFiles = editService->openedFiles(); |
| 121 | for (auto row : rows) { |
| 122 | auto bp = bpModel->BreakpointAt(row.row()); |
| 123 | if (openedFiles.contains(bp.filePath)) |
| 124 | editor.setBreakpointEnabled(bp.filePath, bp.lineNumber - 1, false); |
| 125 | else |
| 126 | editor.breakpointStatusChanged(bp.filePath, bp.lineNumber - 1, false); |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | void BreakpointView::removeBreakpoints(const QModelIndexList &rows) |
| 131 | { |
nothing calls this directly
no test coverage detected