MCPcopy Create free account
hub / github.com/KDE/kdevelop / checkFetchMoreFrames

Method checkFetchMoreFrames

kdevplatform/debugger/framestack/framestackwidget.cpp:165–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165void 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
176void FramestackWidget::currentThreadChanged(int thread)
177{

Callers

nothing calls this directly

Calls 3

fetchMoreFramesMethod · 0.80
valueMethod · 0.45
frameStackModelMethod · 0.45

Tested by

no test coverage detected