| 157 | } |
| 158 | |
| 159 | FrameStackModel::FrameItem FrameStackModel::frame(const QModelIndex& index) |
| 160 | { |
| 161 | Q_D(FrameStackModel); |
| 162 | |
| 163 | Q_ASSERT(index.internalId()); |
| 164 | Q_ASSERT(static_cast<quintptr>(d->m_threads.count()) >= index.internalId()); |
| 165 | const ThreadItem &thread = d->m_threads.at(index.internalId()-1); |
| 166 | return d->m_frames[thread.nr].at(index.row()); |
| 167 | } |
| 168 | |
| 169 | QVector<FrameStackModel::FrameItem> FrameStackModel::frames(int threadNumber) const |
| 170 | { |
no test coverage detected