MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / checkScrollForPreload

Method checkScrollForPreload

Telegram/SourceFiles/boxes/peer_list_box.cpp:2160–2164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2158}
2159
2160void PeerListContent::checkScrollForPreload() {
2161 if (_visibleBottom + PreloadHeightsCount * (_visibleBottom - _visibleTop) >= height()) {
2162 _controller->loadMoreRows();
2163 }
2164}
2165
2166void PeerListContent::searchQueryChanged(QString query) {
2167 const auto searchWordsList = TextUtilities::PrepareSearchWords(query);

Callers

nothing calls this directly

Calls 1

loadMoreRowsMethod · 0.45

Tested by

no test coverage detected