Remove systeminfo; move getSystemRam into SysInfo.h (#4323)

This commit is contained in:
Alexandru Ionut Tripon 2026-01-31 20:24:40 +02:00 committed by GitHub
commit fda9e74972
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 117 additions and 584 deletions

View file

@ -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");