mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-21 11:17:16 +00:00
NOISSUE Some happy little refactors
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "JavaWizardPage.h"
|
||||
#include <Launcher.h>
|
||||
#include <Application.h>
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <QGroupBox>
|
||||
@@ -55,7 +55,7 @@ bool JavaWizardPage::wantsRefreshButton()
|
||||
|
||||
bool JavaWizardPage::validatePage()
|
||||
{
|
||||
auto settings = LAUNCHER->settings();
|
||||
auto settings = APPLICATION->settings();
|
||||
auto result = m_java_widget->validate();
|
||||
switch(result)
|
||||
{
|
||||
@@ -71,7 +71,7 @@ bool JavaWizardPage::validatePage()
|
||||
case JavaSettingsWidget::ValidationStatus::JavaBad:
|
||||
{
|
||||
// Memory
|
||||
auto s = LAUNCHER->settings();
|
||||
auto s = APPLICATION->settings();
|
||||
s->set("MinMemAlloc", m_java_widget->minHeapSize());
|
||||
s->set("MaxMemAlloc", m_java_widget->maxHeapSize());
|
||||
if (m_java_widget->permGenEnabled())
|
||||
|
||||
Reference in New Issue
Block a user