| 190 | } |
| 191 | |
| 192 | void FramestackWidget::currentFrameChanged(int frame) |
| 193 | { |
| 194 | if (frame != -1) { |
| 195 | IFrameStackModel* model = m_session->frameStackModel(); |
| 196 | QModelIndex idx = model->currentFrameIndex(); |
| 197 | m_framesTreeView->selectionModel()->select( |
| 198 | idx, QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows); |
| 199 | } else { |
| 200 | m_framesTreeView->selectionModel()->clear(); |
| 201 | } |
| 202 | } |
| 203 | |
| 204 | void FramestackWidget::frameSelectionChanged(const QModelIndex& current /* previous */) |
| 205 | { |
nothing calls this directly
no test coverage detected