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

Method JavaPage

launcher/ui/pages/global/JavaPage.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54#include <sys.h>
55
56JavaPage::JavaPage(QWidget *parent) : QWidget(parent), ui(new Ui::JavaPage)
57{
58 ui->setupUi(this);
59 ui->tabWidget->tabBar()->hide();
60
61 auto sysMiB = Sys::getSystemRam() / Sys::mebibyte;
62 ui->maxMemSpinBox->setMaximum(sysMiB);
63 loadSettings();
64}
65
66JavaPage::~JavaPage()
67{

Callers

nothing calls this directly

Calls 2

hideMethod · 0.80
setupUiMethod · 0.45

Tested by

no test coverage detected