| 1587 | } |
| 1588 | |
| 1589 | int MainWindow::watchGetMask(int row) { |
| 1590 | int mask = 0; |
| 1591 | if (static_cast<QAbstractButton *>(m_watchpoints->cellWidget(row, WATCH_READ_COL))->isChecked()) { |
| 1592 | mask |= DBG_MASK_READ; |
| 1593 | } else { |
| 1594 | mask |= DBG_MASK_NONE; |
| 1595 | } |
| 1596 | if (static_cast<QAbstractButton *>(m_watchpoints->cellWidget(row, WATCH_WRITE_COL))->isChecked()) { |
| 1597 | mask |= DBG_MASK_WRITE; |
| 1598 | } else { |
| 1599 | mask |= DBG_MASK_NONE; |
| 1600 | } |
| 1601 | return mask; |
| 1602 | } |
| 1603 | |
| 1604 | void MainWindow::watchModified(QTableWidgetItem *item) { |
| 1605 | if (item == Q_NULLPTR) { |
nothing calls this directly
no outgoing calls
no test coverage detected