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

Method onTaskSucceeded

launcher/ui/widgets/VersionSelectWidget.cpp:119–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void VersionSelectWidget::onTaskSucceeded()
120{
121 if (m_proxyModel->rowCount() == 0)
122 {
123 listView->setEmptyMode(VersionListView::String);
124 }
125 sneakyProgressBar->setHidden(true);
126 preselect();
127 loadTask = nullptr;
128}
129
130void VersionSelectWidget::onTaskFailed(const QString& reason)
131{

Callers

nothing calls this directly

Calls 2

rowCountMethod · 0.45
setEmptyModeMethod · 0.45

Tested by

no test coverage detected