| 250 | } |
| 251 | |
| 252 | void SidepanelReplay::on_timeSlider_valueChanged(int value) |
| 253 | { |
| 254 | if( ui->spinBox->value() != value) |
| 255 | { |
| 256 | ui->spinBox->setValue( value ); |
| 257 | } |
| 258 | |
| 259 | int row = _timepoint[value].second; |
| 260 | ui->tableView->scrollTo( _table_model->index(row,0), QAbstractItemView::PositionAtCenter); |
| 261 | |
| 262 | onRowChanged( row ); |
| 263 | } |
| 264 | |
| 265 | void SidepanelReplay::onRowChanged(int current_row) |
| 266 | { |
nothing calls this directly
no outgoing calls
no test coverage detected