mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
Remove systeminfo
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
7e8cf628e8
commit
c4971479f8
22 changed files with 112 additions and 588 deletions
|
|
@ -46,7 +46,7 @@
|
|||
#include "java/JavaInstallList.h"
|
||||
#include "java/JavaUtils.h"
|
||||
#include "settings/Setting.h"
|
||||
#include "sys.h"
|
||||
#include "SysInfo.h"
|
||||
#include "ui/dialogs/CustomMessageBox.h"
|
||||
#include "ui/dialogs/VersionSelectDialog.h"
|
||||
#include "ui/java/InstallJavaDialog.h"
|
||||
|
|
@ -285,7 +285,7 @@ void JavaSettingsWidget::onJavaAutodetect()
|
|||
}
|
||||
void JavaSettingsWidget::updateThresholds()
|
||||
{
|
||||
auto sysMiB = Sys::getSystemRam() / Sys::mebibyte;
|
||||
auto sysMiB = SysInfo::getSystemRamMiB();
|
||||
unsigned int maxMem = m_ui->maxMemSpinBox->value();
|
||||
unsigned int minMem = m_ui->minMemSpinBox->value();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue