Commit 3f7f2294 authored by David Redondo's avatar David Redondo 🏎
Browse files

Set core count to the correct value

BUG:428561
parent 0b3c24fe
...@@ -69,7 +69,7 @@ LinuxCpuPluginPrivate::LinuxCpuPluginPrivate(CpuPlugin *q) ...@@ -69,7 +69,7 @@ LinuxCpuPluginPrivate::LinuxCpuPluginPrivate(CpuPlugin *q)
} }
m_allCpus = new LinuxAllCpusObject(m_container); m_allCpus = new LinuxAllCpusObject(m_container);
m_allCpus->initialize(); m_allCpus->initialize();
m_allCpus->setCounts(numCores.keys().size(), numCores.size()); m_allCpus->setCounts(numCores.keys().size(), m_cpus.size());
addSensors(); addSensors();
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment