mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-23 20:12:34 +00:00
SCRATCH pass initial parameters to the JavaSettingsWidget from outside
This commit is contained in:
@@ -45,7 +45,13 @@ void JavaWizardPage::refresh()
|
||||
|
||||
void JavaWizardPage::initializePage()
|
||||
{
|
||||
m_java_widget->initialize();
|
||||
auto s = MMC->settings();
|
||||
m_java_widget->initialize(
|
||||
s->get("JavaPath").toString(),
|
||||
s->get("MinMemAlloc").toInt(),
|
||||
s->get("MaxMemAlloc").toInt(),
|
||||
s->get("PermGen").toInt()
|
||||
);
|
||||
}
|
||||
|
||||
bool JavaWizardPage::wantsRefreshButton()
|
||||
|
||||
Reference in New Issue
Block a user