mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Minor
This commit is contained in:
@@ -347,7 +347,7 @@ void MachineInfo::init_get_cpu_info_macos()
|
|||||||
macosraminfo.waitForFinished();
|
macosraminfo.waitForFinished();
|
||||||
QString macosRAMOutput = macosraminfo.readAllStandardOutput();
|
QString macosRAMOutput = macosraminfo.readAllStandardOutput();
|
||||||
pc.ram.Total=QString("RAM Total : %1 GB").arg(
|
pc.ram.Total=QString("RAM Total : %1 GB").arg(
|
||||||
macosRAMOutput.toLongLong() / (1024 * 1024) * 1000);
|
macosRAMOutput.toLongLong() / ((1024 * 1024) * 1000));
|
||||||
macosraminfo.close();
|
macosraminfo.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user