MCPcopy Create free account
hub / github.com/MultiMC/Launcher / reset

Method reset

launcher/ui/widgets/VersionListView.cpp:51–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void VersionListView::reset()
52{
53 if(model())
54 {
55 m_itemCount = model()->rowCount();
56 }
57 else {
58 m_itemCount = 0;
59 }
60 updateEmptyViewPort();
61 QTreeView::reset();
62}
63
64void VersionListView::setEmptyString(QString emptyString)
65{

Callers 15

updateCheckFinishedMethod · 0.45
loadVersionInfoMethod · 0.45
MainWindowMethod · 0.45
validatePageMethod · 0.45
requestFinishedMethod · 0.45
requestFailedMethod · 0.45
PageMethod · 0.45
onTabChangedMethod · 0.45
searchRequestFinishedMethod · 0.45
searchRequestFailedMethod · 0.45

Calls 1

rowCountMethod · 0.45

Tested by

no test coverage detected