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

Method javaVersionSelected

launcher/ui/widgets/JavaWizardWidget.cpp:334–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334void JavaWizardWidget::javaVersionSelected(BaseVersion::Ptr version)
335{
336 auto java = std::dynamic_pointer_cast<JavaInstall>(version);
337 if (!java) {
338 return;
339 }
340 auto visible = java->id.requiresPermGen();
341 m_labelPermGen->setVisible(visible);
342 m_permGenSpinBox->setVisible(visible);
343 m_javaPathTextBox->setText(java->path);
344 checkJavaPath(java->path);
345}
346
347void JavaWizardWidget::on_javaBrowseBtn_clicked()
348{

Callers

nothing calls this directly

Calls 3

requiresPermGenMethod · 0.80
setVisibleMethod · 0.80
setTextMethod · 0.45

Tested by

no test coverage detected