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

Method stateRemove

gui/qt/mainwindow.cpp:2826–2830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2824}
2825
2826void MainWindow::stateRemove() {
2827 int row = stateGet(sender(), SLOT_REMOVE_COL);
2828 QFile(ui->slotView->item(row, SLOT_EDIT_COL)->data(Qt::UserRole).toString()).remove();
2829 ui->slotView->removeRow(row);
2830}
2831
2832void MainWindow::stateSave() {
2833 int row = stateGet(sender(), SLOT_SAVE_COL);

Callers

nothing calls this directly

Calls 2

removeRowMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected