| 46 | } |
| 47 | |
| 48 | void BreakpointModel::removeBreakpoint(const Internal::Breakpoint &breakpoint) |
| 49 | { |
| 50 | beginResetModel(); |
| 51 | auto it = bps.begin(); |
| 52 | for (; it != bps.end();) { |
| 53 | if (it->breakpoint() == breakpoint) { |
| 54 | it = bps.erase(it); |
| 55 | } else { |
| 56 | ++it; |
| 57 | } |
| 58 | } |
| 59 | endResetModel(); |
| 60 | emit breakpointChanged(); |
| 61 | } |
| 62 | |
| 63 | void BreakpointModel::switchBreakpointStatus(const Internal::Breakpoint &breakpoint) |
| 64 | { |
no test coverage detected