void RunnerDB::refreshRunnerTableData(Table &table) { for (size_t k = 0; k<oRDB.size(); k++){ if (!oRDB[k].isRemoved()) { TableRow *row = table.getRowById(oRDB[k].getIndex() + 1); if (row) row->setObject(oRDB[k]); } } }
void RunnerDB::refreshClubTableData(Table &table) { for (size_t k = 0; k<cdb.size(); k++){ if (!cdb[k].isRemoved()) { TableRow *row = table.getRowById(cdb[k].getTableId()); if (row) row->setObject(cdb[k]); } } }