| 1125 | // ------------------------------------------------ |
| 1126 | |
| 1127 | void MainWindow::portSetPrev(QTableWidgetItem *current, QTableWidgetItem *previous) { |
| 1128 | (void)previous; |
| 1129 | if (current == Q_NULLPTR || current->text().isEmpty()) { |
| 1130 | return; |
| 1131 | } |
| 1132 | |
| 1133 | if (current->column() == PORT_ADDR_COL) { |
| 1134 | m_prevPortAddr = current->text(); |
| 1135 | } |
| 1136 | } |
| 1137 | |
| 1138 | void MainWindow::portRemoveRow(int row) { |
| 1139 | uint16_t port = static_cast<uint16_t>(hex2int(m_ports->item(row, PORT_ADDR_COL)->text())); |
nothing calls this directly
no outgoing calls
no test coverage detected