| 636 | } |
| 637 | |
| 638 | void BreakpointModel::removeBreakpoint(Breakpoint* breakpoint) |
| 639 | { |
| 640 | Q_D(BreakpointModel); |
| 641 | |
| 642 | Q_ASSERT(breakpoint); |
| 643 | const auto row = d->breakpoints.indexOf(breakpoint); |
| 644 | Q_ASSERT(row != -1); |
| 645 | removeRow(row); |
| 646 | } |
| 647 | |
| 648 | void BreakpointModel::toggleBreakpoint(const QUrl& url, const KTextEditor::Cursor& cursor) |
| 649 | { |