mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Fix to RAM Total info
This commit is contained in:
@@ -250,7 +250,7 @@ void Machine_info::init_get_cpu_info_macos()
|
||||
<< "sysctl -n hw.memsize");
|
||||
macosraminfo.waitForFinished();
|
||||
QString macosRAMOutput = macosraminfo.readAllStandardOutput();
|
||||
pc.ram.Available=QString("RAM Total : %1 MB").arg(
|
||||
pc.ram.Total=QString("RAM Total : %1 MB").arg(
|
||||
macosRAMOutput.toLongLong() /1024 / 1024);
|
||||
macosraminfo.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user