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

Method refresh

launcher/ui/widgets/JavaSettingsWidget.cpp:135–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void JavaSettingsWidget::refresh()
136{
137 if (JavaUtils::getJavaCheckPath().isEmpty()) {
138 JavaCommon::javaCheckNotFound(this);
139 return;
140 }
141 m_versionWidget->loadList();
142}
143
144JavaSettingsWidget::ValidationStatus JavaSettingsWidget::validate()
145{

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.80
loadListMethod · 0.45

Tested by

no test coverage detected