| 1322 | // ------------------------------------------------ |
| 1323 | |
| 1324 | void MainWindow::watchSetPrev(QTableWidgetItem *current, QTableWidgetItem *previous) { |
| 1325 | (void)previous; |
| 1326 | if (current == Q_NULLPTR || current->text().isEmpty()) { |
| 1327 | return; |
| 1328 | } |
| 1329 | |
| 1330 | if (current->column() == WATCH_LOW_COL) { |
| 1331 | m_prevWatchLow = current->text(); |
| 1332 | } |
| 1333 | if (current->column() == WATCH_HIGH_COL) { |
| 1334 | m_prevWatchHigh = current->text(); |
| 1335 | } |
| 1336 | } |
| 1337 | |
| 1338 | void MainWindow::watchRemoveRow(int row) { |
| 1339 | if (m_watchpoints->item(row, WATCH_LOW_COL)->text() != DEBUG_UNSET_ADDR && |
nothing calls this directly
no outgoing calls
no test coverage detected