mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
Remove systeminfo; move getSystemRam into SysInfo.h (#4323)
This commit is contained in:
commit
fda9e74972
22 changed files with 117 additions and 584 deletions
|
|
@ -13,8 +13,6 @@
|
|||
#include <QToolButton>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include <sys.h>
|
||||
|
||||
#include "DesktopServices.h"
|
||||
#include "FileSystem.h"
|
||||
#include "JavaCommon.h"
|
||||
|
|
@ -32,7 +30,7 @@
|
|||
|
||||
JavaWizardWidget::JavaWizardWidget(QWidget* parent) : QWidget(parent)
|
||||
{
|
||||
m_availableMemory = Sys::getSystemRam() / Sys::mebibyte;
|
||||
m_availableMemory = SysInfo::getSystemRamMiB();
|
||||
|
||||
goodIcon = QIcon::fromTheme("status-good");
|
||||
yellowIcon = QIcon::fromTheme("status-yellow");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue