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

Method on_javaTestBtn_clicked

launcher/ui/pages/instance/InstanceSettingsPage.cpp:486–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486void InstanceSettingsPage::on_javaTestBtn_clicked()
487{
488 if(checker)
489 {
490 return;
491 }
492 checker.reset(new JavaCommon::TestCheck(
493 this, ui->javaPathTextBox->text(), ui->jvmArgsTextBox->toPlainText().replace("\n", " "),
494 ui->minMemSpinBox->value(), ui->maxMemSpinBox->value(), ui->permGenSpinBox->value()));
495 connect(checker.get(), SIGNAL(finished()), SLOT(checkerFinished()));
496 checker->run();
497}
498
499void InstanceSettingsPage::checkerFinished()
500{

Callers

nothing calls this directly

Calls 6

toPlainTextMethod · 0.80
resetMethod · 0.45
textMethod · 0.45
replaceMethod · 0.45
getMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected