mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
NOISSUE set max of java heap spinboxes to detected physical memory
This commit is contained in:
parent
5ea170db78
commit
afb0db24a8
4 changed files with 8 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
JavaWizardPage::JavaWizardPage(QWidget *parent)
|
||||
:BaseWizardPage(parent)
|
||||
{
|
||||
m_availableMemory = Sys::getSystemRam() / (1024ull * 1024ull);
|
||||
m_availableMemory = Sys::getSystemRam() / Sys::megabyte;
|
||||
|
||||
goodIcon = MMC->getThemedIcon("status-good");
|
||||
yellowIcon = MMC->getThemedIcon("status-yellow");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue