mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 09:07:42 +00:00
Add developer mode CVar, use CPU max MHz instead
This commit is contained in:
@@ -55,7 +55,7 @@ SysReqTableModel::SysReqTableModel(QObject* parent)
|
||||
for (const QJsonValue& v: lscpuObj.toArray())
|
||||
{
|
||||
QJsonObject vObj = v.toObject();
|
||||
if (vObj.take("field").toString() == "CPU MHz:")
|
||||
if (vObj.take("field").toString() == "CPU max MHz:")
|
||||
{
|
||||
double speed = vObj.take("data").toString().toDouble();
|
||||
m_cpuSpeed = speed;
|
||||
|
||||
Reference in New Issue
Block a user