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