MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / fetchMore

Method fetchMore

launcher/ui/pages/modplatform/ModModel.cpp:34–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32/******** Make data requests ********/
33
34void ListModel::fetchMore(const QModelIndex& parent)
35{
36 if (parent.isValid())
37 return;
38 if (nextSearchOffset == 0) {
39 qWarning() << "fetchMore with 0 offset is wrong...";
40 return;
41 }
42 performPaginatedSearch();
43}
44
45auto ListModel::data(const QModelIndex& index, int role) const -> QVariant
46{

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected