MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / on_deleteRowButton_clicked

Method on_deleteRowButton_clicked

src/forcedloaddialog.cpp:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void ForcedLoadDialog::on_deleteRowButton_clicked()
63{
64 for (auto rowIndex : ui->tableWidget->selectionModel()->selectedRows()) {
65 int row = rowIndex.row();
66 auto widget = (ForcedLoadDialogWidget*)ui->tableWidget->cellWidget(row, 0);
67 if (!widget->getForced()) {
68 ui->tableWidget->removeRow(row);
69 }
70 }
71}

Callers

nothing calls this directly

Calls 1

getForcedMethod · 0.80

Tested by

no test coverage detected