| 163 | } |
| 164 | |
| 165 | void FramestackWidget::checkFetchMoreFrames() |
| 166 | { |
| 167 | int val = m_framesTreeView->verticalScrollBar()->value(); |
| 168 | int max = m_framesTreeView->verticalScrollBar()->maximum(); |
| 169 | const int offset = 20; |
| 170 | |
| 171 | if (val + offset > max && m_session) { |
| 172 | m_session->frameStackModel()->fetchMoreFrames(); |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | void FramestackWidget::currentThreadChanged(int thread) |
| 177 | { |
nothing calls this directly
no test coverage detected