| 272 | } |
| 273 | |
| 274 | void MIBreakpointController::breakpointAdded(int row) |
| 275 | { |
| 276 | if (m_ignoreChanges > 0) |
| 277 | return; |
| 278 | |
| 279 | auto breakpoint = BreakpointDataPtr::create(); |
| 280 | m_breakpoints.insert(row, breakpoint); |
| 281 | |
| 282 | const Breakpoint* modelBreakpoint = breakpointModel()->breakpoint(row); |
| 283 | if (!modelBreakpoint->enabled()) |
| 284 | breakpoint->dirty |= BreakpointModel::EnableColumnFlag; |
| 285 | if (!modelBreakpoint->condition().isEmpty()) |
| 286 | breakpoint->dirty |= BreakpointModel::ConditionColumnFlag; |
| 287 | if (modelBreakpoint->ignoreHits() != 0) |
| 288 | breakpoint->dirty |= BreakpointModel::IgnoreHitsColumnFlag; |
| 289 | if (!modelBreakpoint->address().isEmpty()) |
| 290 | breakpoint->dirty |= BreakpointModel::LocationColumnFlag; |
| 291 | |
| 292 | createBreakpoint(row); |
| 293 | } |
| 294 | |
| 295 | void MIBreakpointController::breakpointModelChanged(int row, BreakpointModel::ColumnFlags columns) |
| 296 | { |
nothing calls this directly
no test coverage detected