MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / portSetPrev

Method portSetPrev

gui/qt/debugger.cpp:1127–1136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1125// ------------------------------------------------
1126
1127void 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
1138void MainWindow::portRemoveRow(int row) {
1139 uint16_t port = static_cast<uint16_t>(hex2int(m_ports->item(row, PORT_ADDR_COL)->text()));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected