MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / validate

Method validate

launcher/ui/java/InstallJavaDialog.cpp:292–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void InstallDialog::validate(BasePage* selected)
293{
294 buttons->button(QDialogButtonBox::Ok)->setEnabled(!!std::dynamic_pointer_cast<Java::Metadata>(pageCast(selected)->selectedVersion()));
295}
296
297void InstallDialog::done(int result)
298{

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