MCPcopy Create free account
hub / github.com/PrismLauncher/PrismLauncher / validate

Method validate

launcher/ui/java/InstallJavaDialog.cpp:304–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304void InstallDialog::validate(BasePage* selected)
305{
306 buttons->button(QDialogButtonBox::Ok)->setEnabled(!!std::dynamic_pointer_cast<Java::Metadata>(pageCast(selected)->selectedVersion()));
307}
308
309void InstallDialog::done(int result)
310{

Callers 3

startMethod · 0.45
replaceMethod · 0.45
validatePageMethod · 0.45

Calls 3

setEnabledMethod · 0.80
pageCastFunction · 0.70
selectedVersionMethod · 0.45

Tested by

no test coverage detected