MCPcopy Create free account
hub / github.com/dannagle/PacketSender / removePacketfromMemory

Method removePacketfromMemory

src/mainwindow.cpp:1510–1520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1508// QDEBUG() << "cell changed";
1509
1510void MainWindow::removePacketfromMemory(Packet thepacket)
1511{
1512 for (int i = 0; i < packetsSaved.size(); i++) {
1513 if (thepacket.name == packetsSaved[i].name) {
1514 packetsSaved.removeAt(i);
1515 break;
1516 }
1517
1518 }
1519
1520}
1521
1522void MainWindow::on_packetsTable_itemChanged(QTableWidgetItem *item)
1523{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected