Update launcher/ui/pages/global/JavaPage.cpp

Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Ryan Cao 2022-05-29 20:35:57 +08:00 committed by GitHub
parent d4c1d62781
commit 20832682ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ void JavaPage::on_javaTestBtn_clicked()
return;
}
checker.reset(new JavaCommon::TestCheck(
this, ui->javaPathTextBox->text(), ui->jvmArgsTextBox->toPlainText(),
this, ui->javaPathTextBox->text(), ui->jvmArgsTextBox->toPlainText().replace("\n", " "),
ui->minMemSpinBox->value(), ui->maxMemSpinBox->value(), ui->permGenSpinBox->value()));
connect(checker.get(), SIGNAL(finished()), SLOT(checkerFinished()));
checker->run();